wat is the difference between array and pointer?
Answers were Sorted based on User's Feedback
Answer / unni
array is a fixed sequence collection of elements of the same datatype:
pointer contains memory address as their values...
Is This Answer Correct ? | 18 Yes | 1 No |
Answer / shraddha choubey
1)array do not contains address.. but pointers contains address .
2)array means continues memory location but,pointers do not.
Is This Answer Correct ? | 10 Yes | 4 No |
Answer / sanjay gupta
array is the similsr type of data and pointer is a momery location of element...
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / lucky
In a arry we have to specify length before we use.
But in the case of poiters we don't need.
Is This Answer Correct ? | 0 Yes | 1 No |
Find Index of least significant bit set in an Integer. ex. int value is say 10001000 results should be 4.
how can make variable not in registers
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
Write a program to interchange two variables without using the third variable?
17 Answers Accenture, College School Exams Tests, Infotech,
main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }
22 Answers NDS, TCS,
What is main () in c language?
How do you determine the length of a string value that was stored in a variable?
What does & mean in scanf?
What is a constant and types of constants in c?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
Where we use clrscr in c?
A program to write a number of letters and numbers, such as counting and display