Answer Posted / rohit
suppose
if
p=5,
np=5
or
np=6
!=(it is the sign of not equal to)
so
if np and p are same the answer is false
and when the np and p are different the the answer is true
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the use of structure padding in c?
How can I get the current date or time of day in a c program?
write a program to create a sparse matrix using dynamic memory allocation.
Write a simple code fragment that will check if a number is positive or negative.
What is the use of a conditional inclusion statement in C?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
Who is the founder of c language?
Is c high or low level?
Can we change the value of constant variable in c?
if p is a string contained in a string?
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
What kind of structure is a house?
How arrays can be passed to a user defined function
How can I pad a string to a known length?
Are the variables argc and argv are local to main?