- Home
- Quantitative
- English
- Reasoning
- IT Officer
- Programming
-
Computer
- Computer Awareness Questions Answers - Set 1
- Computer Awareness Questions Answers - Set 2
- Important Abbreviations Computer Awareness Questions Answers
- Important File Extensions Questions Answers
- Computer System Architecture Questions Answers
- MS Office Questions Answers
- MS Excel Questions Answers
- MS PowerPoint Questions Answers
-
GK
- Geography Questions Answers
- Indian History Questions Answers
- World History Questions Answers
- Indian Economy Questions Answers
- Indian Polity and Constitution
- Physics Questions Answers
- Chemistry Questions Answers
- Biology Questions Answers
- First In India
- First In World
- Longest and Largest
- Books and Authors
- Important Days of year
- Countries and Capitals
- Inventions and Inventors
-
Current Affairs
- Current Affairs
- Current Affairs 2018
- Current Affairs 2018 - 2019 PDF
- Current Affairs August 2019
- Current Affairs July 2019
- Current Affairs June 2019
- Current Affairs May 2019
- Current Affairs April 2019
- Current Affairs March 2019
- Current Affairs February 2019
- Current Affairs January 2019
- Current Affairs December 2018
- Current Affairs November 2018
- Current Affairs October 2018
- Current Affairs September 2018
- Govt Jobs
- Exams
- Online Quiz
- You are here
- Home
- Programming Aptitude
- C Programming Questions Answers
- C Programming Questions Answers - Chapter 1
- Aptitude Question
- Current Affairs 2019
- Current Affairs 2018
- Current Affairs December 2018
- Current Affairs November 2018
- Current Affairs October 2018
- Current Affairs September 2018
- Current Affairs August 2018
- Current Affairs July 2018
- Current Affairs June 2018
- Current Affairs May 2018
- Current Affairs April 2018
- Current Affairs March 2018
- Current Affairs February 2018
- Current Affairs January 2018
- Current Affairs 2018
- Current Affairs PDF
- Current Affairs PDF Download
- Current Affairs July 2019 PDF
- Current Affairs June 2019 PDF
- Current Affairs May 2019 PDF
- Current Affairs April 2019 PDF
- Current Affairs March 2019 PDF
- Current Affairs February 2019 PDF
- Current Affairs January 2019 PDF
- Current Affairs December 2018 PDF
- Current Affairs November 2018 PDF
- Current Affairs October 2018 PDF
- Current Affairs September 2018 PDF
- Current Affairs August 2018 PDF
- Current Affairs July 2018 PDF
- Current Affairs June 2018 PDF
- Current Affairs May 2018 PDF
- Current Affairs April 2018 PDF
- Current Affairs March 2018 PDF
- Current Affairs February 2018 PDF
- Current Affairs January 2018 PDF
Question Detail
What will be output of
#include
void main()
{
char test =`S`;
printf("\n%c",test);
}
void main()
{
char test =`S`;
printf("\n%c",test);
}
- S
- Error
- Garbage value
- None of above
Answer: Option A
1. We can insert pre written code in a C program by using
- #read
- #get
- #include
- #put
Answer: Option C
2. Due to variable scope in c
- Variables created in a function cannot be used another function
- Variables created in a function can be used in another function
- Variables created in a function can only be used in the main function
- None of above
Answer: Option A
3. printf() belongs to which library of c
- stdlib.h
- stdio.h
- stdout.h
- stdoutput.h
Answer: Option B
4. What among following is true about stack
- stack cannot reuse its memory
- all elements are of different datatypes
- all operation done at one end
- none of above
Answer: Option C
5. Difference between calloc() and malloc()
- calloc() takes a single argument while malloc() needs two arguments
- malloc() takes a single argument while calloc() needs two arguments
- malloc() initializes the allocated memory to ZERO
- calloc() initializes the allocated memory to NULL
Answer: Option B
Thanks ! Your comment will be approved shortly !
-
janardhan 10 years ago
#include<stdio.h>
-
Vera 11 years ago
Can I simply say what a cmfoort to search out somebody who really knows just what they are sharing on the web. You definitely discover how to bring an issue to light and make it important. More people require to read it all and understand this particular side of the story. I can't believe you aren't very popular as you really have the gift.
- Copyright 2014 - All rights reserved
- Terms Of Use & Privacy Policy
- Contact Us
- Copyright