R
Q. Predict the output of following program, assume that a character takes 1 byte and pointer takes 4 bytes.
#include <stdio.h> int main() { char *str1 = "GeeksQuiz"; char str2[] = "GeeksQuiz"; printf("sizeof(str1) = %d, sizeof(str2) = %d", sizeof(str1), sizeof(str2)); return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the dimension of the C array int ary[10][5].?
Q. What are the new features of C11 or ISO IEC 9899 2011 standard?
Q. The value printed by the C program is ___________
Q. Which of these assignments is invalid?
Q. Choose the correct answer.?
Q. Which function is used to delete an existing file in C?
Q. What will be output if you will compile and execute the following c code?
Q. Which type conversion is NOT accepted?
Q. Which of the programming language is said to be machine independent language?
Discusssion
Login to discuss.