C Programming Determine Output:void main(){ char not; not = !2; printf("%d", not);} 2 Garbage Value 0 None of These 2 Garbage Value 0 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 12 Garbage Value 13 14 15 12 Garbage Value 13 14 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming String concatenation means - Partitioning the string into two strings. Extracting a substring out of a string. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. Partitioning the string into two strings. Extracting a substring out of a string. Combining two strings. Merging two strings. Comparing the two strings to define the larger one. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} the behavior is undefined i=5 j=2 i=4 j=2 i=3 j=2 the behavior is undefined i=5 j=2 i=4 j=2 i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Exam Exam Veda Veda Exam\0Veda None of these Exam Exam Veda Veda Exam\0Veda ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Linking error None of these 3 hello Compiler Error Linking error None of these 3 hello Compiler Error ANSWER DOWNLOAD EXAMIANS APP