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
共享
共享
由
Yasminbhanu1171
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?