accept character from keyboard untill the user presses the
enter key.If the user enters any character other than upper
case(A-Z)alphabets program should stop taking any input
Answer / shrikantauti
use if condition
if(ch>=65 &&ch<=90)
{
scanf("%c",&ch);
}
else
{
break;
}
| Is This Answer Correct ? | 1 Yes | 0 No |
what is the use of using linked list and array?
What are dangling pointers?
CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.
What is main void in c?
Write a C program to get the desired output. 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 . . . 1 n..............n 1 Note: n is a positive integer entered by the user.
Program to trim a given character from a string.
C,c++, Java is all are structural oriented or procedure oriented language..?
What is difference between scanf and gets?
What is substring in c?
Two's compliment of -5
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?
Why double pointer is used in c?