C Programming Which of the following is the correct way of declaring a float pointer: float ptr; *float ptr; float *ptr; None of these float ptr; *float ptr; float *ptr; None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Who is father of C Language? F. Codd Gosling James Dennis Ritchie Bjarne Stroustrup Dr. F. Codd Gosling James Dennis Ritchie Bjarne Stroustrup Dr. ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 13, 13, 24, 13 50, 13, 24, 50 50, 13, 24, 13 13, 10, 24, 50 50, 13, 11, 13 13, 13, 24, 13 50, 13, 24, 50 50, 13, 24, 13 13, 10, 24, 50 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 1 30 -5 10 15 1 30 -5 10 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=i++, j=j++, k=k++; printf("%d %d %d", i, j, k);} Error 1 1 1 garbage values 0 0 0 Error 1 1 1 garbage values 0 0 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 1 1 2 1 1 2 2 2 1 1 2 1 1 2 2 2 ANSWER DOWNLOAD EXAMIANS APP