C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 III and IV I and II I, III and IV I, II and III II and III III and IV I and II I, III and IV I, II and III II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is correct way to define the function fun() in the below program?#includevoid main(){ int a[3][4]; fun(a);} void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int p[][4]){} None of these void fun(int *p[][4]){} void fun(int *p[4]){} void fun(int *p[3][4]){} void fun(int p[][4]){} None of these void fun(int *p[][4]){} ANSWER DOWNLOAD EXAMIANS APP
C Programming The declarationint (*p) [5];means The same as int *p[ None of these. p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. The same as int *p[ None of these. p is one dimensional array of size 5, of pointers to integers. p is a pointer to a 5 elements integer array. ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? main() getch() system() printf() start() main() getch() system() printf() start() ANSWER DOWNLOAD EXAMIANS APP
C Programming In an expression involving || operator, evaluationI. Will be stopped if one of its components evaluates to falseII. Will be stopped if one of its components evaluates to trueIII. Takes place from right to leftIV. Takes place from left to right I and II II and III I and III II and IV III and IV I and II II and III I and III II and IV III and IV ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 4 2 4 5 5 5 5 2 5 5 2 4 4 2 4 5 5 5 5 ANSWER DOWNLOAD EXAMIANS APP