C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? fg efg defg bcdefg cdefg fg efg defg bcdefg cdefg ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ printf("%d, %d", sizeof(int *), sizeof(int **));} 4, 4 2, 4 2, 2 2, 0 0, 2 4, 4 2, 4 2, 2 2, 0 0, 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Any C program Needs input data. Must contain at least one function. Need not contain any function. None of these Needs input data. Must contain at least one function. Need not contain any function. None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int i=5; if(--i){ main(); printf("%d ", i); }} 5 4 3 2 1 Infinite Loop 0 0 0 0 None of These 5 4 3 2 1 Infinite Loop 0 0 0 0 None of These 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 15 30 1 10 -5 15 30 1 10 -5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#include#includevoid main(){ char str1[20] = "Hello", str2[20] = " World"; printf("%s", strcpy(str2, strcat(str1, str2)));} Hello None of these WorldHello Hello World World Hello None of these WorldHello Hello World World ANSWER DOWNLOAD EXAMIANS APP