wt is diference between int and int pointer as same as
float and float pointer and char and char pointer
Answer Posted / vilas soni++
"int" can give it's value, and
we can put any integer value in it directly.
while "pointer" of an integer can give value of an
integer what's address it contain, and
we can not put any integer value in it directly like :
int *p;
p = 65201;
it will give error.......
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is array of structure in c programming?
write a program to create a sparse matrix using dynamic memory allocation.
What are the restrictions of a modulus operator?
Explain union. What are its advantages?
List the variables are used for writing doubly linked list program.
How can I dynamically allocate arrays?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What is the difference between printf and scanf in c?
Why c language?
What is the auto keyword good for?
What is hungarian notation? Is it worthwhile?
How do I swap bytes?
What are multidimensional arrays?
What does c in a circle mean?