Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
11 views
c programming notes
C and html mcqs to get maximum marks
Uploaded by
Dipanshu THAKUR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save c programming notes For Later
Download
Save
Save c programming notes For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
11 views
c programming notes
C and html mcqs to get maximum marks
Uploaded by
Dipanshu THAKUR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save c programming notes For Later
Carousel Previous
Carousel Next
Save
Save c programming notes For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 7
Search
Fullscreen
64.) default: > Printf("%6d", a); > What will be the output? a)7 b)s 2 d.) None of above A operator applies to two operands, while a operator applies to a single operand. a.) Binary, Unary ©.) Unary, Ternary b.) Ternary, Binary d.) None of these A is a place where we can store values. Size of INT is bits. a.) int, 2 c.) variable, 16 b,) variable, 2 4d.) int, 16 Variable consist of letters, numbers and a.) Underscore, keyword c.) Identifier, keyword b.) Alphabets, underscore 4.) Underscore, identifier . You can’t use 7 ‘Study the following C program: #include
#include
void main() { char *strt,*str2,*str3; str1="India is my"; str2="Ilyrtnuoc"; str3="Gujarat”; clrser(); strncat(str1,strrev(str2),strien(str3)); puts(str1); > What will be the value of STR1 after execution of the above program? a.) India Is my Country! b.) India is my Hyrtnuoc .) India Is my Country 4.) None of these Study it #include
#include
void main() { int count= while(digit<=9) @ scanned with OKEN Scanner++count; +digit; } printf("%d",count); y What will be the output? a.) 10 b.)9 c) at What will be the output of following program? #include
#include
void main() c inti, §, kj J°5; i k=2*(/2); printf(*i=%d \n k=%d", i, k); } b. ) 15, k=5 ) ind, kad Study the following program: #include
#include
void main() { int a, b, c; a=2; be2*(at+); c=2*(+4a); printf(*b=%d \n c=%d",b,¢); Study the following program: #include
#include
void main() i. int *ptr, Ii in12, *ptrai * 1; HH printf(*%d %d", i, Ptr); > a.) 42, 144 b.) 13, 144 4d.) None of these @ scanned with OKEN Scanner72.) Study the following program: #include
#include
void main() { int a=3; switch(a) { case 1 printf("One"); case 3: printf(*Three"); case 5: printf ("Five"); case 7: printf(Seven”); default: printf(“Odd"); break; } What will be the output of above program? a.) Three c.) Three Five Seven Odd b.) Three Five Odd d.) Three Five Seven 73.) Study the following program: #include
#include
union example { int i; float F; double d; he void main() c union example e; Printf("\n Size of union is: %d", size of(e)); > What will be the output of this program? a) 8 b)6 c.) 10 a.) 14 74.) Study the following program: #include
#include
void main() { int i=0, x: do t i95==0) q Xe+; > +4; } while (i <20); > What will be the output of this program? a.) X=4 b.) X=20 c)X=25 d.) X=10 @ scanned with OKEN Scanner75.) 76.) 77.) 78.) 79.) Study the following program: #include
#include
void main() { int i=0, x: while (i<20) ie if(i%5==0) { X+ ie; } printf(*X=%d", X); } a) b) =30 0 Study the following program: #include
#include
void main() { in zi for(i=0; 1<2; i++) { if(W(i<=n) && (+#n==i)) n=n2; else ; + What will be the output of this program? a)3 b)4 6)2 Ve Which is not a symbol of Flow-Chart.? (oO 7 Pre-programming technique Is.?? a.) Flow Chart b.) Algorithm What will be the output of above program? c.) X=25 d.) X=10 d.) None of these 4.) By ite] OS ©) aaa] d.) None of above ¢.) Dry Run d.) All of Above @ scanned with OKEN Scanner80.) 81.) 82.) 83.) 84.) 85.) 86.) 87.) 88.) 89.) 90.) Which is the step by step representation of program creation? a.) Algorithm b.) Dry Run Dry Runisa a.) Tabular Development b.) Graphical Representation 'B’ language is developed by. a.) Martin Richards b.) Dennis Ritchie .) Flow Chart d.) None of Above ,) Step by Step Development d.) None of Above .) Ken Thompson 4.) Berian Kerningham ©) Which of the following symbol is use for single line comment? a) i Da) PF one 7 a); Which is not the graphical representation of program creation? a.) Algorithm b.) Dry Run ANSI C permits the use of as many as a.) 258 b.) 259 c.) Flow Chart d.) (A) and (B) both case labels. ©) 257 4.) 256 Structure template is terminated by symbol . a.) Semicolon (; ) b.) Comma (, ) 2: is______ operator. a.) Logical b.) Bitwise Which symbols used to define an array? ayo b) <> Find the error: main() int if(2>0); printf(*Its POSITIVE"); else printf(*its NEGATIVE"); > 2.) getch(); is missing b) statement missing Which is a relational operator? a.) a b) >= ©.) Space ( ) 4d.) Underscore (_) .) Assignment d.) Conditional .) misplaced else 4d.) None of above @ scanned with OKEN Scanner7 To check whether string is in upper case a.) toupper () 91.) or not, which function is used? .) isupper() 1.) upper 0 4.) None of above 92.) pow(), abs() & sqrt() are situated in header file. a.) stdio.h, math.h, ctype.h ce) Gype.h Cel) 4.) math.h 93.) Which is not the part of UDF? 1a.) Prototype of Function .) Definition of Function b.) Calling of Function 4.) None of above 94.) How compare that two strings are equal or not? a.) strempO) c) strrev() b.) streat() a.) strehr() 95.) Which is a storage class? a.) auto c) register b.) static 4.) All of above 96.) 64 bits occupied by which data type? 2.) double 2) unsigned int ».) long double 4.) int 67.) Which special symbol i allowed for variable dee 7202) se 2.) Under Score (—) c,) Caret (*) b.) Tiled (~) 4.) Colon: ) 98.) <, > are used for" 2) Function Call ) Link to Header file 33 ray 42), Function Detnitlon 99.) Percentage style of “unsigned int” !s a) %ld ©) %u b.) 9% 4.) lu 100.) as an alternative of simple if..lse statement. c.) ? : Operator ____—_ i) Conditional Operator b.) Ternary Operator 101.) Which is not an Entry Control? a.) for loop .) while loop. 4102.) How many types of operators are there? a)7 b) 9 103.) What is the output of below program? void main() K int a=11,b; 4.) All of above c.) do...while loop di.) All of above .) 10 4.)8 @ scanned with OKEN Scannerb=at+ printf("\n\t B: %d", b); getch(); + a.) Error b.) 12 c) 41 4.) None of above 104.) a -=b is equivalent to ; c.) baba d.) bea-b 105.) { } are used to group statements together as in 2 function, or in the body of a loop. Such & grouping Is known as . a.) Statement c.) Loop b.) Block d,) Process 106.) Which is the Escape Sequence character? a.) \n oe b.) \o d.) (A) and (B) both 107.) Null character is represented PY —————— a.) NULL ©) \0 4d.) All of above b.) 10 symbol behaves as STYLE while using with one variable and as REMINDER while 108.) ____— Taing with two variable/values. a.) & b.) % «)* a) # 109.) and are used to test more than one condition. 2.) 8& II b.) <=) >= ces tsb) > @ scanned with OKEN Scanner
You might also like
100 Multiple Choice Questions in C Programming MCQs
PDF
83% (6)
100 Multiple Choice Questions in C Programming MCQs
13 pages
Basic C Programming MCQquestions For Engineering Student
PDF
100% (1)
Basic C Programming MCQquestions For Engineering Student
61 pages
c-mcq_copy
PDF
No ratings yet
c-mcq_copy
12 pages
A1286728257 - 13891 - 25 - 2017 - MCQ Questions CSE101
PDF
0% (1)
A1286728257 - 13891 - 25 - 2017 - MCQ Questions CSE101
60 pages
Objective Type Question of Computer Science PDF
PDF
No ratings yet
Objective Type Question of Computer Science PDF
281 pages
MCQ's in Computer Science
PDF
0% (1)
MCQ's in Computer Science
281 pages
Example
PDF
No ratings yet
Example
14 pages
C One Mark Questions
PDF
No ratings yet
C One Mark Questions
17 pages
C Bits
PDF
No ratings yet
C Bits
15 pages
200 Multiple Choice Questions in C Programming MCQs
PDF
No ratings yet
200 Multiple Choice Questions in C Programming MCQs
37 pages
I BCA-106A - C Programming
PDF
33% (3)
I BCA-106A - C Programming
26 pages
C Programming For Engineers IMPORTANT QUESTIONS
PDF
No ratings yet
C Programming For Engineers IMPORTANT QUESTIONS
5 pages
PPS Mid 1 Objective 2024
PDF
No ratings yet
PPS Mid 1 Objective 2024
10 pages
Sde 44
PDF
No ratings yet
Sde 44
15 pages
BC0034 Computer Concepts & C Programming Paper 1
PDF
No ratings yet
BC0034 Computer Concepts & C Programming Paper 1
13 pages
C Programming With Algorithms
PDF
No ratings yet
C Programming With Algorithms
33 pages
Computer Engineering FE MCQ
PDF
No ratings yet
Computer Engineering FE MCQ
28 pages
C C++
PDF
100% (1)
C C++
93 pages
Past paper McQs set 1
PDF
No ratings yet
Past paper McQs set 1
1 page
MGM'S Jnec Question Bank For The Subject: CE (FE-All)
PDF
No ratings yet
MGM'S Jnec Question Bank For The Subject: CE (FE-All)
30 pages
CCP MCQ
PDF
No ratings yet
CCP MCQ
11 pages
MCQ
PDF
100% (1)
MCQ
80 pages
C MCQ
PDF
No ratings yet
C MCQ
12 pages
100 MCQ - C Lan Nir
PDF
No ratings yet
100 MCQ - C Lan Nir
12 pages
Computer Concepts Programming
PDF
No ratings yet
Computer Concepts Programming
51 pages
C MCQ
PDF
No ratings yet
C MCQ
16 pages
Hemesh Kumar Chhipa - A3 PPL
PDF
No ratings yet
Hemesh Kumar Chhipa - A3 PPL
193 pages
Unit-1-PPS Answers_SRM_UNIVERSITY
PDF
No ratings yet
Unit-1-PPS Answers_SRM_UNIVERSITY
7 pages
C MCQS
PDF
No ratings yet
C MCQS
38 pages
Computer Science (Fe) Mcq's
PDF
100% (1)
Computer Science (Fe) Mcq's
41 pages
MC With Answers
PDF
No ratings yet
MC With Answers
5 pages
C Questions
PDF
No ratings yet
C Questions
12 pages
C Programming
PDF
No ratings yet
C Programming
14 pages
BC0034 Computer Concepts & C Programming Paper 2
PDF
100% (1)
BC0034 Computer Concepts & C Programming Paper 2
14 pages
10th MCQs Ch-1,2,3
PDF
No ratings yet
10th MCQs Ch-1,2,3
8 pages
R20-Ppsc-Unitwise Multiple Choice Questions
PDF
No ratings yet
R20-Ppsc-Unitwise Multiple Choice Questions
16 pages
1038 Questions Mech Question
PDF
No ratings yet
1038 Questions Mech Question
152 pages
Let Us C Soln
PDF
50% (2)
Let Us C Soln
15 pages
Document
PDF
No ratings yet
Document
36 pages
Al-Razi Guess Paper Computer Science (EM)
PDF
No ratings yet
Al-Razi Guess Paper Computer Science (EM)
4 pages
C Programming
PDF
No ratings yet
C Programming
47 pages
C Programming Language Multiple Choice Questions
PDF
No ratings yet
C Programming Language Multiple Choice Questions
19 pages
Dca1102 C Language
PDF
100% (1)
Dca1102 C Language
57 pages
C Ojective Questions
PDF
No ratings yet
C Ojective Questions
19 pages
100 Multiple Choice Questions in C Programming PDF: Eguardian India
PDF
No ratings yet
100 Multiple Choice Questions in C Programming PDF: Eguardian India
29 pages
C
PDF
40% (5)
C
138 pages
Past paper McQs set 2
PDF
No ratings yet
Past paper McQs set 2
1 page
C Question Bank
PDF
No ratings yet
C Question Bank
5 pages
MCQ 100
PDF
No ratings yet
MCQ 100
6 pages