C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 2 1 1 2 1 2 2 1 2 1 1 2 1 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello 5 Error None of These hello garbage value hello 5 Error None of These hello garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming Comment on the following?const int *ptr; We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. Both of the above We can change the pointer as well as the value pointed by it. We cannot change the value pointed by ptr. We cannot change the pointer ptr itself. Both of the above We can change the pointer as well as the value pointed by it. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} Error c 65 A Error c 65 A 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 None of these 30 15 10 50 None of these 30 15 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = 5; printf("%d%d%d%d%d", i++, i--, ++i, --i, i);} 45545 54554 45445 54544 45545 54554 45445 54544 ANSWER DOWNLOAD EXAMIANS APP