Answer Posted / sandeep
By adding volatile qualifier
eg:volatile int a;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a null string in c?
What are the different types of C instructions?
Write a program to print numbers from 1 to 100 without using loop in c?
How can I read data from data files with particular formats?
Are negative numbers true in c?
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
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
How is a null pointer different from a dangling pointer?
Why is not a pointer null after calling free?
What is local and global variable in c?
What is a macro, and explain how do you use it?
Explain what are linked list?
When should the volatile modifier be used?
What is echo in c programming?
What is a program flowchart?