C Programming Functions have .......... Block scope No scope at all Function scope File scope Local scope Block scope No scope at all Function scope File scope Local scope ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includeint main(){ int arr[1] = {10}; printf("%d", 0[arr]); return 0;} 1 6 0 10 None of these 1 6 0 10 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} Error 10..50 0 10..10 Error 10..50 0 10..10 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 11 10, 10 11, 10 10, 11 11, 11 10, 10 11, 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 8 Syntax error No output Runtime error 6 8 Syntax error No output Runtime error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 5 Garbage Value 6 Compiler Error 5 Garbage Value 6 Compiler Error ANSWER DOWNLOAD EXAMIANS APP