C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 0 Compiler Error 7 5 6 0 Compiler Error 7 5 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array 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) 50 30 None of these 15 10 50 30 None of these 15 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming C programs are converted into machine language with the help of An operating system A compiler An Editor None of these. An operating system A compiler An Editor None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 8 5 5 2 4 5 2 4 4 2 5 5 8 5 5 2 4 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 12 11 Error 1 12 11 Error 1 ANSWER DOWNLOAD EXAMIANS APP