Skip to content

Tag Archives: C-C Quiz – 110

In C, 1D array of int can be defined as follows and both are correct.   C int array1D[4] = {1,2,3,4}; int array1D[] = {1,2,3,4}; But… Read More
The below program would give compile error because comma has been used after foo(). Instead, semi-colon should be used i.e. the way it has been… Read More
Typically, library header files in C (e.g. stdio.h) contain not only declaration of functions and macro definitions but they contain definition of user defined data… Read More
The following program won’t compile because there’re space between macro name and open parenthesis. #include "stdio.h"    #define MYINC   (  a  )  (  ( a… Read More
Suppose someone writes increment macro (i.e. which increments the value by one) in following ways: #define INC1(a) ((a)+1)    #define INC2 (a) ((a)+1)    #define… Read More

Start Your Coding Journey Now!