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
What is the use of a static variable in c?
Why is c platform dependent?
Write a program to use switch statement.
What is void main () in c?
Explain the use of 'auto' keyword
How many levels of pointers have?
Why void is used in c?
What is file in c preprocessor?
What are data types in c language?
How many data structures are there in c?
Why ca not I do something like this?
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
Is there any data type in c with variable size?
What is data type long in c?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?