Advertisement
Advertisement
Advertisement

9th Grade Programming Quizzes, Questions & Answers

Think your child knows their 9th grade Programming? Read more

Top Trending Programming Quizzes


.Hi,Seeing you guys so enthusiastic about the preparation for the club recruitment. I have prepared a small quiz as to how you'll be asked during the club about the tech stuff like - C aptitude and logical reasoning and Simple...

Questions: 10  |  Attempts: 556   |  Last updated: Mar 21, 2023
  • Sample Question 1
    What is output?# include <stdio.h> void print(int arr[]){   int n = sizeof(arr)/sizeof(arr[0]);   int i;   for (i = 0; i < n; i++)      printf("%d ", arr[i]);} int main(){   int arr[] = {1, 2, 3, 4, 5, 6, 7, 8};   print(arr);   return 0;}
    Radio Button
    Radio Button
    Radio Button
    Radio Button
  • Sample Question 2
    Predict the output of below program:#include  int main(){    int arr[5];    // Assume base address of arr is 2000 and size of integer is 32 bit    printf("%u %u", arr + 1, &arr + 1);     return 0;}
    Radio Button
    Radio Button
    Radio Button
    Radio Button
  • Sample Question 3
    Consider the following declaration of a ‘two-dimensional array in C:char a[100][100]; Assuming that the main memory is byte-addressable and that the array is stored starting from memory address 0, the address of a[40][50] is
    Radio Button
    Radio Button
    Radio Button
    Radio Button
Advertisement