Advertisement
Advertisement
C Quizzes, Questions & Answers
Recent C Quizzes
HI GUYS!!!THIS QUIZ LIKE TEST IS RELATED TO FUNDAMENTAL MODULE TEST IN CTS. WHICH WILL BE VERY USEFUL FOR YOU TO SELF-TEST YOUR SKILLS!!!TOPICS COVERED ARE:->PROBLEM SOLVING IN C.->DATA STRUCTURES IN...
Questions: 16 | Attempts: 3060 | Last updated: Mar 21, 2025
-
Sample Question1. create table { empno numeric (4) constraint emp_prim primary keyEmpname varchar2 (20) constraint emp_const check(empname = upper(empname))}
*Please be reminded: when you answer the fill-in-the-blanks questions, do not use excessive/redundant -blanks- ,e.g.
enter:- if(a>b) ,
not if(a...
Questions: 12 | Attempts: 702 | Last updated: Feb 20, 2025
-
Sample QuestionA file (name.txt) containing a list of your classmates reads as below (ALL names follow immediately with a 'new line' character):What would be the output to the screen on running the code below:#include <stdio.h>main(){ char str1[20] = "Hello, boys"; char str2[100] = "God created the world in 7 days."; FILE *fp; fp=fopen("name.txt","r"); if (fp==NULL){ printf("Cant open !\n"); exit(1); } fgets(str1,12,fp); fgets(&str2[12],10,fp); printf("%s",str2); fclose(fp);}
C is an amazing language that is easy to grasp at the same time. Take this C Loops: For, While, Do While Quiz! Test yourself today with the help of these carefully designed questions and find out just how much you know...
Questions: 14 | Attempts: 7203 | Last updated: Feb 19, 2025
-
Sample QuestionWhat is the output? for(int i=1; i<15; i=i+3) { out.print(i); }
C is a programming language which was developed by Dennis Ritchie. C language incorporates low-level access to memory, clean style and simple set of keywords which makes 'C' language a perfect system...
Questions: 10 | Attempts: 11055 | Last updated: Apr 21, 2025
-
Sample Questionvoid main() { int const * p=5; printf("%d",++(*p)); }
Advertisement