C Programming char *ptr;char myString[] = "abcdefg";ptr = myString;ptr += 5;what string does ptr point to in the sample code above? defg cdefg fg bcdefg efg defg cdefg fg bcdefg efg ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define square(x) x*x void main(){ int i; i = 64/square(4); printf("%d", i); } 4 None of These 16 64 4 None of These 16 64 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 11 None of These 13 12 11 None of These 13 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function is more appropriate for reading in a multi-word string? gets() printf() scanf() puts() None of these gets() printf() scanf() puts() None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) pow(2, x) power(x, 2) pow(x, 2) power(2, x) sqr(x) pow(2, x) power(x, 2) pow(x, 2) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming int a[5] = {1,2,3}What is the value of a[4]? 3 Garbage Value 0 1 2 3 Garbage Value 0 1 2 ANSWER DOWNLOAD EXAMIANS APP