C Programming int a[5] = {1,2,3}What is the value of a[4]? Garbage Value 1 0 2 3 Garbage Value 1 0 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the base data type of a pointer variable by which the memory would be allocated to it? Depends upon the type of the variable to which it is pointing. int float No data type unsigned int Depends upon the type of the variable to which it is pointing. int float No data type unsigned int ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 Error 4 6 5 Error 4 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming C Language developed at _________? AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 AT & T's Bell Laboratories of USA in 1972 Cambridge University in 1972 AT & T's Bell Laboratories of USA in 1970 Sun Microsystems in 1973 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of following program code?#include int main(void){ char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d", p); return 0;} 9 5 Error 6 None of these 9 5 Error 6 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 5 5 2 4 5 2 4 4 8 5 5 2 5 5 2 4 5 2 4 4 8 5 5 ANSWER DOWNLOAD EXAMIANS APP