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 |
How many types of arrays are there in c?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
what is bit rate & baud rate? plz give wave forms
write a program to print infinte number
write a program to find out prime number using sieve case?
What is c programming structure?
what is difference b/w extern & volatile variable??
How to write a code for reverse of string without using string functions?
int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15
write a program in c to read array check element is present or not?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }