what is the difference between definition and declaration?
give me some examples.
Answer Posted / mohammed anas
declaration:
for example,int i;
definition:
declaration as well as initialisation is known as definition
for example int i=25;
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
What is a protocol in c?
What is wrong with this program statement?
What is zero based addressing?
What is structure data type in c?
What is a method in c?
how to capitalise first letter of each word in a given string?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
When should a type cast not be used?
Is c weakly typed?
Is sizeof a keyword in c?
What are categories used for in c?
What are the different types of objects used in c?
What is static identifier?