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..10 0 10..50 Error 10..10 0 10..50 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 None of these 10 6 0 1 None of these 10 6 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which operator has the lowest priority? + ++ && || % + ++ && || % ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of conditional compilation Takes care of macros All of these Takes care of include files Acts before compilation Takes care of conditional compilation Takes care of macros All of these Takes care of include files Acts before compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 -5 15 10 30 1 -5 15 10 30 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which one of the following is not a valid identifier? _examians examians1 1examians exam_veda _examians examians1 1examians exam_veda ANSWER DOWNLOAD EXAMIANS APP