1. What will be the output of the following programs.
a) #include <stdio.h>
Main()
{
Int x=4;
While(x==1)
{
X=x-1;
Printf(ā%dā,x);
--x;
}
}
Answer Posted / satya
Ya.. it is correct...
you initialized the x as Int..
we have to to initialize it as int...
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What are the parts of c program?
What is the difference between near, far and huge pointers?
write a c program for swapping two strings using pointer
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is the use of sizeof () in c?
Write a program to swap two numbers without using third variable?
What is default value of global variable in c?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
Give basis knowledge of web designing ...
When was c language developed?
Differentiate between static and dynamic modeling.
Can we initialize extern variable in c?
What are preprocessor directives in c?
What is null pointer constant?