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 代碼
刪除
恢復自動保存:
?