9th Grade Programming Quizzes, Questions & Answers
Programming Quizzes By Grade
5th Grade 9th Grade 10th Grade 11th Grade 12th GradeFind More 9th Grade Subject Quizzes
Periodic Table Nervous System Sociology Dna Structure Photosynthesis Classification Chemical Bonding Non Mendelian Inheritance Biodiversity Forces Law Geography Food Chains Plate Tectonics PoetryPopular Programming Topics
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 1What 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;}
-
Sample Question 2Predict 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;}
-
Sample Question 3Consider 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
Advertisement