C Questions and Answers – Signed Qualifier

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Signed Qualifier”. Pre-requisite for C Signed Qualifier MCQ set: Video Tutorial on C Data Types – Bits & Bytes. 1. In a signed integer, the sign is represented by ___________ a) Least significant bit b) Most significant bit c) System dependent d) The … Read more

advertisement

C Questions and Answers – Recursion

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Recursion”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. What will be the output of the following C code? #include<stdio.h> main() { int n; n=f1(4); printf("%d",n); } f1(int x) { int b; if(x==1) return 1; else b=x*f1(x-1); return b; … Read more

advertisement

C Questions and Answers – Endianness

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Endianness”. Pre-requisite for this C Endianness MCQ set: Video Tutorial on C Endianness. 1. A machine in which the least significant byte is stored in the smallest address is __________ a) Big endian machine b) Bi-endian machine c) Binary bit machine d) Little … Read more

advertisement

C Questions and Answers – Inline

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Inline”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. Name the function whose definition can be substituted at a place where its function call is made _________ a) friends function b) inline function c) volatile function d) external function … Read more

advertisement

C Questions and Answers – Token Concatenation

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Token Concatenation”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. Which of the following operators is used to concatenate two strings without space? a) # b) < > c) ** d) ## 2. What will be the output of … Read more

advertisement

C Questions and Answers – Conditional Preprocessor Directives – 2

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Conditional Preprocessor Directives – 2”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. What will be the output of the following C code? #include<stdio.h> #define san 10 main() { #ifdef san #define san 20 #endif printf("%d",san); } a) 10 … Read more

advertisement

C Questions and Answers – Conditional Preprocessor Directives – 1

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Conditional Preprocessor Directives – 1”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. What will be the output of the following C code? #include<stdio.h> #define max 100 main() { #ifdef max printf("hello"); } a) 100 b) hello c) “hello” … Read more

advertisement

C Questions and Answers – Stringizers

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Stringizers”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. Which of the following is a stringizing operator? a) < > b) # c) % d) ## 2. What will be the output of the following C code? #define sanfoundry(s,n) … Read more

advertisement

C Questions and Answers – Pragma

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Pragma”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. The preprocessor directive used to give additional information to the compiler, beyond which is conveyed in the language _____________ a) #include b) #define c) #pragma d) #elif 2. What will … Read more

advertisement

C Questions and Answers – DMA Functions, Memory Leak, Dangling Pointers – 2

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “DMA Functions, Memory Leak, Dangling Pointers – 2”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. What will be the output of the following C code if it is executed on a 32 bit processor? #include<stdio.h> #include<stdlib.h> int main() … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.