MCQOPTIONS
Bookmark
Saved Bookmarks
→
Aspire
→
Aptitude & Logical - Aspire
→
What is the default return-type of getchar()?
1.
What is the default return-type of getchar()?
A.
char
B.
int
C.
char *
D.
reading character doesn’t require a return-type
Answer» C. char *
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
The maximum combined length of the command-line arguments including the spaces between adjacent arguments is
Choose the correct answer Afzal writes a piece of code, where a set of three lines occur around 10 times in different parts of the program. What programming concept can he use to shorten his program code length?
Consider the following function function calculate( n ) { if(n equals 5) return 5 else return (n + calculate(n-5)) end } Shishir calls the function by the statement, calculate(20). What value will the function return?
Which of the following is true?
Comment on the below while statement while (0 == 0) { }
Which one is used during memory deallocation in C?
What type of value does sizeof return?
What is the sizeof(char) in a 32-bit C compiler?
Memory allocation using malloc() is done in?
What is the default return-type of getchar()?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies