what is op?
for(c=0;c=1000;c++)
printf("%c",c);
Answer Posted / karthik
i executed this program it went on displaying funny
characters indefinite loop
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What are the advantages of using macro in c language?
What is the function of this pointer?
Where are some collections of useful code fragments and examples?
What is structure data type in c?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
Why void is used in c?
Write a program to generate random numbers in c?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
How to write a multi-statement macro?
What is storage class?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
What is register variable in c language?
Is calloc better than malloc?
Why is it important to memset a variable, immediately after allocating memory to it ?