int i;
i=2;
i++;
if(i=4)
{
printf(i=4);
}
else
{
printf(i=3);
}
output of the program ?
Answer Posted / ssssssssss
output
3
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
Is there a way to compare two structure variables?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
Why can't I perform arithmetic on a void* pointer?
What does %p mean c?
What is nested structure in c?
What is switch in c?
Explain what is wrong in this statement?
What is extern keyword in c?
What are variables and it what way is it different from constants?
Write a progarm to find the length of string using switch case?
What is a far pointer in c?
Who is the main contributor in designing the c language after dennis ritchie?
When should the volatile modifier be used?
Using which language Test cases are added in .ptu file of RTRT unit testing???
What is difference between structure and union?