Skip to content

Tag Archives: C-C Quiz – 108

In a C file (say sourcefile1.c), an array is defined as follows. Here, we don’t need to mention array arr size explicitly in [] because… Read More
Both of the following declarations for function pointers are equivalent. Second one (i.e. with typedef) looks cleaner. /* First Declaration */ int (*funPtr1)(int), (*funPtr2)(int);   … Read More
Anyone of the following can be used to declare a node for a singly linked list and “NODEPTR nodePtr;” can be used to declare pointer… Read More
Anyone of the followings can be used to declare a node for a singly linked list. If we use the first declaration, “struct node *… Read More
In the below statement, ptr1 and ptr2 are uninitialized pointers to int i.e. they are pointing to some random address that may or may not… Read More