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 / rohit
variable X have not been defined. so it has an error...........
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
find the sum of two matrices and WAP for it.
What do you mean by invalid pointer arithmetic?
Difference between exit() and _exit() function?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
Is c is a high level language?
What is structure and union in c?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
Why is it important to memset a variable, immediately after allocating memory to it ?
What are the 4 types of functions?
Do pointers store the address of value or the actual value of a variable?
explain what are actual arguments?
How can I implement sets or arrays of bits?
What is the difference between typedef struct and struct?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.