Answer Posted / ankush tyagi
Pointers are a special type of variables which are used to
store the address of the another variable....
Four type of pointers are defined...
1.Near pointer
2.Fare pointer
3.Huge pointer
4.File pointer
Syntex //-
data type var_name;
data type *pointer_name;
pointer_name=&var_name;
in both the case data type should be same other wise we can
use the type casting;;;....
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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 factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What do you mean by command line argument?
Explain pointers in c programming?
Which is the best website to learn c programming?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
What is the purpose of 'register' keyword in c language?
Write a c program to demonstrate character and string constants?
What is the code in while loop that returns the output of given code?
Difference between exit() and _exit() function?
Do array subscripts always start with zero?
How do you define CONSTANT in C?
Explain what is the heap?
What does *p++ do? What does it point to?
Tell us two differences between new () and malloc ()?