C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} Error 9 5 6 None of these Error 9 5 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H Some address will be printed Hello None of these. H Some address will be printed Hello None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; printf("%d", scanf("%d", &i)); // value 10 is given as input here} Garbage Value 10 None of These 1 Garbage Value 10 None of These 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} garbage values 0 0 0 Error 1 1 1 garbage values 0 0 0 Error 1 1 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} None of these. Error Equal Unequal None of these. Error Equal Unequal ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Compiler Error 2 Linker Error 20 Compiler Error 2 Linker Error 20 ANSWER DOWNLOAD EXAMIANS APP