C Programming
Description: Get complete study material to prepare for any Entrance, Test Papers to check the basic programming skills using C covers all concepts like arrays, loops, conditions, file Handling in C, polymorphism, functions, data structure | |
Number of Questions: 25 | |
Created by: Tanya Dwivedi | |
Tags: C Programming in C Pointers in C Exploring C Functions Arrays Loops Conditions File Handling in C Letter E Antonyms Synonyms Programming Fundamentals of Computer Programming |
If a static array is not initialised, its elements will be set at
The maximum value that an integer constant can have is
Give the output of the following program: main( ) { int a=30,b=40,x; x=((a!=10) && (b=50)) printf(“x=%d”,x)' }
The format specifier used for long unsigned is
If a character string is to be received through keyboard, which function would work faster?
The output of: 13% - 3 will be
The format string of printf() function can contain
int num[ ] = {24,32,12,44,56,17}, *(num +4) refers to
int num[ ] = {24,32,12,44,56,17}, *(num +0) refers to
The declaration 'char *ch' means
To receive the string “we are going” in an array char str[100], which of the following functions would you use?
The value of 15/10.0 is
int i; int *j; int **k; In the above declaration, 'k' is a
num[i] is same as
The Range of Short signed integer is
The minimum number of temporary variables needed to swap the contents of two variables, is
The output of expression 9-12/(3 + 3)*(2 - 1), is
Which of the following is the correct way of declaring a float pointer?
If int s[5] is a one dimensional array of integers, which of the following refers to the 3rd element in the array?
*operator used in pointer notation stands for
A pointer enables us to access a variable that is defined
Which function would you use if a single key is to be received through the keyboard?
In the declaration float, *s mean that
main()
{
int i=3;
printf(Value of i=%d,*(&i));
}
Give the output of above program.
If an integer is to be entered through keyboard, which function you would use?