Programming MCQS - QUESTION DETAILS

How do you declare a structure in C?
A. struct myStruct;
B. struct = myStruct;
C. myStruct struct;
D. struct myStruct { };

'struct myStruct { };' declares a structure in C.

Similar Questions

What is the purpose of the 'fflush' function in C?






Which of the following is not a bitwise operator in C?






What is the output of printf("%d", 10 % 3);?






What is the purpose of the 'memcpy' function in C?






How do you define a multi-line macro in C?






How do you declare a function pointer in C?






What is the purpose of the 'strcmp' function in C?






What is the output of printf("%d", 1 == 1 ? 10 : 20);?






What is the purpose of the 'getch' function in C?






What is the output of printf("%c", 'a' - 32);?