Description: C | |
Number of Questions: 5 | |
Created by: Saurabh Mittal | |
Tags: C Looping Iteration Operators and Expression Strings and Character Arrays |
What will be the result of the following expression in C?
x=strcmpi(&&ABC&&,&&abc&&);
printf(&&x=%d&&,x);
Which of the following character types of functions in C is used to verify whether inputted characters are in uppercase or not?
What will be the output of the following C code?
void main()
{
int *ptr=&"&Chennai&"&;
printf(&"&%c&"&,++(ptr++));
}
Which of the following string handling functions in C is used to reverse the characters in a string?
What will be the value of 'a' in the following C code?
int a=5;
printf(&"&a=%d&"&,a&2);