What is the difference between declaring a variable by
constant keyword and #define ing that variable?
Answer / ganesh
constant- it cannot be changed
# define - it can be changed if we can redefine
| Is This Answer Correct ? | 2 Yes | 0 No |
#include<stdio.h> int main(){ int a[]={1,2,3,5,1}; int *ptr=a+4; int y=ptr-a; printf("%d",y); }
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What are the differences between new and malloc in C?
What is an example of enumeration?
What is the default value of local and global variables in c?
enum { SUNDAY, MONDAY, TUESDAY, }day; main() { day =20; printf("%d",); getch(); } what will be the output of the above program
What is your favorite subject?
1 Answers Ericsson, Invendis, Tech Mahindra,
How can I use a preprocessorif expression to ?
What is volatile variable in c with example?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
main() { printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3)); }
what is mean by Garbage collection ? Please answer me. Advance thanks.