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

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “DMA Functions, Memory Leak, Dangling Pointers – 1”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. What will be the output of the following C code if the input entered as first and second number is 5 and 6 … Read more

advertisement

C Questions and Answers – Static vs Dynamic Memory Allocation

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Static vs Dynamic Memory Allocation”. Pre-requisite for Static vs Dynamic Memory Allocation MCQ set: Video Tutorial on C Data Types – Memory Allocation. 1. Local variables are stored in an area called ___________ a) Heap b) Permanent storage area c) Free memory d) … Read more

advertisement

C Questions and Answers – Implementation-Defined Limits – 2

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Implementation-Defined Limits – 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> #include<limits.h> main() { if(UCHAR_MAX<=SCHAR_MAX) printf("hello"); else printf("good"); } a) error b) hello c) good d) hellogood … Read more

advertisement

C Questions and Answers – Implementation-Defined Limits – 1

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Implementation-Defined Limits – 1”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. The maximum value of a signed char is not the same as the maximum value of an unsigned char. a) True b) False 2. What will be … Read more

advertisement

C Questions and Answers – Date and Time Function – 3

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Date and Time Function – 3”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. What will be the output of the following C code, if the system date is 6/23/2017? #include<stdio.h> #include<time.h> int main() { struct tm *local; time_t … Read more

advertisement

C Questions and Answers – Date and Time Function – 2

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Date and Time Function – 2”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. Which of the following format specifiers is used to represent the name of the time zone? a) %A b) %B c) %H d) %Z 2. … Read more

advertisement

C Questions and Answers – Date and Time Functions – 1

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Date and Time Functions – 1”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. Which of the following library functions returns the time in UTC (Greenwich mean time) format? a) localtime() b) gettime() c) gmtime() d) settime() 2. What … Read more

advertisement

C Questions and Answers – Standard Definition

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Standard Definition”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. Some types and macros defined under the header file stddef.h may be defined under other header files too. a) True b) False 2. size_t is of ______________ type. a) … Read more

advertisement

C Questions and Answers – Signal Handling

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Signal Handling”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. Select the right statement. a) synchronous signal occurs because of the action that your program takes b) synchronous signal occurs because of action outside your program c) asynchronous signal … Read more

advertisement

C Questions and Answers – Non-Local Jumps – 2

This set of C Multiple Choice Questions & Answers (MCQs) focuses on “Non-Local Jumps – 2”. Pre-requisite for this C MCQ set: Advanced C Programming Video Tutorial. 1. The header file setjmp.h is used to __________ a) set location specific information b) control low-level calls and returns to and from functions c) handle signals reported … 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.