C Programming Find the output of the following program.void main(){ int array[10]; int *i = &array[2], *j = &array[5]; int diff = j-i; printf("%d", diff);} 6 Garbage value 3 Error 6 Garbage value 3 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} Garbage Value 433 333 000 444 Garbage Value 433 333 000 444 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 5 2 5 5 8 5 5 2 4 4 2 4 5 2 5 5 8 5 5 2 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); None of these Infinite loop 9 10 11 12 13 10 11 12 13 14 10 11 12 13 14 15 None of these Infinite loop 9 10 11 12 13 10 11 12 13 14 10 11 12 13 14 15 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);} 50 Compiler Error None of These 10 50 Compiler Error None of These 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); 0 Syntax error Infinite loop 10 0123456789 0 Syntax error Infinite loop 10 0123456789 ANSWER DOWNLOAD EXAMIANS APP