C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} 10 50 Compiler Error None of These 10 50 Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following type definition.typedef char x[10];x myArray[5];What will sizeof(myArray) be ? (Assume one character occupies 1 byte) 10 50 15 30 None of these 10 50 15 30 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[7] arr{6} None of these arr{7} arr[6] arr[7] arr{6} None of these arr{7} arr[6] ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Both of the above Local variables Arithmetic expressions R-values Members of a structure Both of the above Local variables Arithmetic expressions R-values Members of a structure ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 2 1 1 1 1 2 2 2 2 1 1 1 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A special symbol other than underscore An alphabet A number Both of the above A special symbol other than underscore An alphabet A number Both of the above ANSWER DOWNLOAD EXAMIANS APP