difference between ordinary variable and pointer in C?
Answers were Sorted based on User's Feedback
Answer / guest
ordinary variable holds value and pointer variable holds
the address
Is This Answer Correct ? | 21 Yes | 1 No |
Answer / syed
an ordinary variable is like a container it can hold any
value and we can change the value of ordinary variable at
time throughout the program.
a pointer is a variable that stores the address of another
variable ..
Is This Answer Correct ? | 13 Yes | 2 No |
Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program
Is it fine to write void main () or main () in c?
Why array starts with index 0
define switch statement?
praagnovation
What is an expression?
What is #error and use of it?
void main(int argc,char *argv[],char *env[]) { int i; for(i=1;i<argc;i++) printf("%s",env[i]); }
how does the for loop work actually..suppose for the following program how it ll work plz explain to me for(i=5;i>=0;i--) prinf(i--);
how can we use static and extern?and where can we use this?
What are different types of variables in c?
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case