Who developed the C programming language?, James Gosling, Dennis Ritchie, Bjarne Stroustrup, Guido van Rossum, Which symbol is used to terminate a statement in C?, :, ., ;, ,, 3. Which header file is required to use printf() and scanf()?, stdlib.h, string.h, math.h, stdio.h, Which of the following is a valid C identifier?, 2value, float, total_marks, total-marks, Which data type is used to store a single character?, char, string, character, text, Which format specifier is used to read an integer using scanf()?, %f, %d, %c, %s, Which operator is used to obtain the address of a variable?, *, #, &, @, Which operator is used for logical AND?, &, &&, ||, !, Which loop is guaranteed to execute at least once?, for, while, do-while, Nested for, Which statement is used to terminate a loop immediately?, continue, skip, break, exit, Which statement skips the remaining statements in the current iteration?, break, continue, return, goto, Which keyword is used to define a constant variable?, constant, fixed, const, static, Which of the following is used to declare a pointer?, &, *, %, #, Which function is used to find the length of a string?, strcpy(), strcmp(), strlen(), strcat(), Which header file contains string handling functions?, stdio.h, string.h, stdlib.h, ctype.h, What is the first index of an array in C?, 0, 1, -1, Depends on the array, Which keyword is used to return a value from a function?, send, return, break, output, Which of the following is NOT a C storage class?, auto, static, register, private, Which function is commonly used to dynamically allocate memory?, alloc(), malloc(), memory(), new(), Which operator is used to access a structure member using a structure variable?, ->, ., ::, &, 10, 20, 30, 1020, 5, 6, 4, Error, 5, 6, 4, Error, 3, 3.33, 4, 1, 0, 1, 3, 10, Yes, No, 10, Error, 0 1 2 3 4, 1 2 3 4 5, 5 4 3 2 1, 1 2 3 4, 0 1 2, 1 2 3, 1 2, 3 2 1, 1 2 3, 0 1 2, 1 2, No output, 10, 15, 20, 25, 10, 20, 30, 1, 2, 4, 6, 8, 10, 12, 15, 20, 10, 15, 20, 25, 5, 10, 15, 50, Address of x, 0, 10, Error, 10, 15, 25, Address of x, 7, 8, 9, 10, Hello, World, HelloWorld, Hello World, Which statement correctly declares an integer array of 10 elements?, int a;, array int a[10];, int a[10];, int[10] a;, Which of the following correctly declares a pointer to an integer?, int p*;, int *p;, pointer int p;, *int p;, Even, Odd, 15, Error, Which statement correctly reads a floating-point value?, scanf("%d", &x);, scanf("%c", &x);, scanf("%f", &x);, scanf("%s", &x);, Correct, Wrong, 10, No output, Which operator has higher precedence in the following expression? a + b * c, +, *, Both have equal precedence, None, One, Two, Other, Error, Which keyword is used to define a structure in C?, struct, structure, record, class, 8, 10, 11, 12, Square of 5, Cube of 5, Factorial of 5, Sum of 5 numbers
0%
C Programming Coding Test
Partager
Partager
par
Yasminbhanu1171
Modifier le contenu
Imprimer
Incorporer
Plus
Affectations
Classement
Afficher plus
Afficher moins
Ce classement est actuellement privé. Cliquez sur
Partager
pour le rendre public.
Ce classement a été désactivé par le propriétaire de la ressource.
Ce classement est désactivé car vos options sont différentes pour le propriétaire de la ressource.
Rétablir les Options
Quiz
est un modèle à composition non limitée. Il ne génère pas de points pour un classement.
Connexion requise
Style visuel
Polices
Abonnement requis
Options
Changer de modèle
Afficher tout
Ouvrir les résultats
Copier le lien
Code QR
Supprimer
Restauration auto-sauvegardé :
?