MCQ Computer Science
C Programming Questions and Answers – Pointer to Structures
C Programming Questions and Answers – Pointer to Structures 1.What is the output of this C code? #include <stdio.h>…
Read More »C Programming Questions and Answers – Arrays of Structures
C Programming Questions and Answers – Arrays of Structures 1.The correct syntax to access the member of the ith structure…
Read More »C Programming Questions and Answers – Structures and Functions
C Programming Questions and Answers – Structures and Functions 1.What is the output of this C code? #include <stdio.h>…
Read More »C Programming Questions and Answers – Basics of Structures
C Programming Questions and Answers – Basics of Structures 1.Which of the following are themselves a collection of different data…
Read More »C Programming Questions and Answers – Complicated Declarations
C Programming Questions and Answers – Complicated Declarations 1.What is the output of this C code? #include <stdio.h>…
Read More »C Programming Questions and Answers – Pointers to Functions
C Programming Questions and Answers – Pointers to Functions 1.Which function is not called in the following program? #include…
Read More »C Programming Questions and Answers – Command Line Arguments
C Programming Questions and Answers – Command Line Arguments 1.What does argv and argc indicate in command-line arguments? (Assuming:…
Read More »C Programming Questions and Answers – Pointers Vs. Multi-dimensional Arrays
C Programming Questions and Answers – Pointers Vs. Multi-dimensional Arrays 1.int a[10][20]; which is true for a a) a…
Read More »C Programming Questions and Answers – Initialization of Pointer Arrays
C Programming Questions and Answers – Initialization of Pointer Arrays 1.To declare a 3 dimension array using pointers, which of…
Read More »C Programming Questions and Answers – Multidimensional Arrays
C Programming Questions and Answers – Multidimensional Arrays 1.What is the output of this C code? #include <stdio.h> void…
Read More »