what is difference between array and structure?
Answer Posted / rajkumars
Array:Static memory allocation.
It uses the subscript to access the array elements.
Structure:Dynamic memory allocation.
It uses the dot(.)operator to access the structure
members.
| Is This Answer Correct ? | 460 Yes | 48 No |
Post New Answer View All Answers
What is indirection?
What is pointer & why it is used?
What is 2c dna?
What is the use of typedef in c?
What is the use of define in c?
What is property type c?
What are qualifiers in c?
Are local variables initialized to zero by default in c?
Can a local variable be volatile in c?
in linking some of os executables are linking name some of them
Why clrscr is used after variable declaration?
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 does sizeof return c?
in iso what are the common technological language?
What are the types of pointers?