Standard Library Functions MCQs
Practice free Standard Library Functions multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 250 questions — no login required.
Question 136easy
. . . . . . . . gives receipt of an interactive attention signals.
Question 137easy
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");
}Question 138easy
All the functions in this library take as a parameter and return as the output.
Advertisement
Question 139easy
The following message is displayed in stderr.Assertion failed: expression, file filenum, line nmn
Question 140easy
The assert shall be implemented as a . . . . . . . . not as an actual . . . . . . . .
Question 141easy
Which of the following returns a signed integer type on finding the difference between two pointers to elements in the same array?
Advertisement
Question 142easy
What will be the output of the following C code if the current system date is 6/22/2017?
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main()
{
time_t ct;
time(&ct);
struct tm *mt=localtime(&ct);
printf("%d\n",mt-> tm_date);
}Question 143easy
What will be the output of the following C code?
#include <stddef.h>
int main(void)
{
int num[10];
int *p1=#[14], *p2=#[19];
ptrdiff_t a = p1-p2;
printf("%d", a);
}Question 144easy
What is "a" in the given C code?
size_t wcstombs(char *s, const wchar_t *a, size_t n)