Hey!
So I have a simple program that measures the length of a string using a for loop.
#include <stdio.h>
int main(void) {
unsigned i;
char str[16] = "ABBA";
Type: Posts; User: bld
Hey!
So I have a simple program that measures the length of a string using a for loop.
#include <stdio.h>
int main(void) {
unsigned i;
char str[16] = "ABBA";
I'm sorry for the delayed reply. Anyways, here it is!
static Node *getLast(Node *_head) {
Node *i = NULL;
for (i = _head; i != NULL; i = i->next);
Hi everyone!
I'm trying to write a program that lets the user append nodes at the end of a linked list. It kinda works but the main problem is that it doesn't actually create any new nodes later...
Well, what about the basics? Is it easier to understand the basics of C or is it easier to understand the basics of C++? The usual stuff - variables, loops etc.
Hello,
I'm completely new to C programming and I was wondering how much easier is to learn C over C++. I want to learn these languages as a hobby and I don't plan to use them for anything too...