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 30 10 -5 1 15 30 10 -5 1 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} zero three None of These Error zero three None of These Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){ int value=0; if(value) printf("well done "); printf("examveda");} examians well done examians None of these complier error examians well done examians None of these complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str[] = "Exam\0Veda"; printf("%s", str);} None of these Exam\0Veda Veda Exam Veda Exam None of these Exam\0Veda Veda Exam Veda Exam ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 15 9 10 11 12 13 10 11 12 13 14 None of these Infinite loop 10 11 12 13 14 15 9 10 11 12 13 10 11 12 13 14 None of these Infinite loop ANSWER DOWNLOAD EXAMIANS APP
C Programming An array elements are always stored in ________ memory locations. Sequential None of these Sequential and Random Random Sequential None of these Sequential and Random Random ANSWER DOWNLOAD EXAMIANS APP