C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1972 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1970 Cambridge University in 1972 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 10 15 30 -5 1 10 15 30 -5 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..1 1..0 0..0 0..1 1..1 1..0 0..0 0..1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 7 Compiler Error 6 0 5 7 Compiler Error 6 0 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming A function 'p' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as int(*p(char *))[] int *p(char *)[] int (*p) (char *)[] None of these. int(*p(char *))[] int *p(char *)[] int (*p) (char *)[] None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The increment should always be ++k . The variable must always be the letter i when using a for loop. The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The increment should always be ++k . ANSWER DOWNLOAD EXAMIANS APP