C Programming Find the output of the following program. void main() { int i=01289; printf("%d", i); } Syntax error 713 0289 1289 0713 Syntax error 713 0289 1289 0713 ANSWER DOWNLOAD EXAMIANS APP
C Programming What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 3 3 4 2 4 2 2 3 3 2 3 3 4 2 4 2 2 3 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 10, 11 11, 11 11, 10 10, 10 10, 11 11, 11 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 None of These 11 10 9 None of These 11 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the difference between a declaration and a definition of a variable? A declaration occurs once, but a definition may occur many times. There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. A declaration occurs once, but a definition may occur many times. There is no difference between them. A definition occurs once, but a declaration may occur many times. Both can occur multiple times, but a definition must occur first. Both can occur multiple times, but a declaration must occur first. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 0 3 2 1 no output infinity loop 3 2 1 0 3 2 1 no output ANSWER DOWNLOAD EXAMIANS APP