C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 1 2 2 1 2 2 1 1 1 2 2 1 2 2 1 1 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 What would be the output for the following Turbo C code?#includevoid main(){ int a[]={ 1, 2, 3, 4, 5 }, *p; p=a; ++*p; printf("%d ", *p); p += 2; printf("%d", *p);} 2 4 3 3 3 4 2 3 2 2 2 4 3 3 3 4 2 3 2 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Both A and B Examians Exam_veda Exam veda None of these Both A and B Examians Exam_veda Exam veda None of these 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 0, 2 2, 0 2, 2 4, 4 2, 4 0, 2 2, 0 2, 2 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? unsigned int float Depends upon the type of the variable to which it is pointing. No data type int unsigned int float Depends upon the type of the variable to which it is pointing. No data type int ANSWER DOWNLOAD EXAMIANS APP