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 1 -5 15 30 10 1 -5 15 30 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming In which stage the following code#includegets replaced by the contents of the file stdio.h During Preprocessing During Execution During Editing During linking None of these During Preprocessing During Execution During Editing During linking None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} P N M None of These P N M None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming An array elements are always stored in ________ memory locations. Random Sequential and Random Sequential None of these Random Sequential and Random Sequential None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming The function scanf() returns ......... The number of successful read input values. 1 The actual values read for each argument. ASCII value of the input read. 0 The number of successful read input values. 1 The actual values read for each argument. ASCII value of the input read. 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello None of these. H Some address will be printed Hello None of these. H Some address will be printed ANSWER DOWNLOAD EXAMIANS APP