C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2 3 4 6 5 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 2 2 2 2 2 3 4 6 5 2 3 4 6 5 2 3 4 6 5 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2 2 2 2 2 2 3 4 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); } Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 10, 10 Syntax error 0x1234ABCD, 0x1234ABCD, 0x1234ABCD 0x1234ABCD, 0x1234ABCD, 10 Runtime error 0x1234ABCD, 10, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 5 6 None of These 7 5 6 None of These 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Comparing the two strings to define the larger one. Partitioning the string into two strings. Merging two strings. Extracting a substring out of a string. Combining two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Merging two strings. Extracting a substring out of a string. Combining two strings. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} Compiler Error 50 10 None of These Compiler Error 50 10 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 4 4 2 4 5 2 5 5 8 5 5 2 4 4 2 4 5 2 5 5 8 5 5 ANSWER DOWNLOAD EXAMIANS APP