what is difference between array and structure?
Answer Posted / reema
ARRAY:- An array can't have bit fields.
STRUCTURE:- Structure can contain bit fields.
| Is This Answer Correct ? | 82 Yes | 22 No |
Post New Answer View All Answers
What is the difference between fread and fwrite function?
What is the difference between procedural and declarative language?
Differentiate between a for loop and a while loop? What are it uses?
Explain the properties of union.
Why header file is used in c?
What extern c means?
What are register variables? What are the advantage of using register variables?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is pragma c?
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
How do you override a defined macro?
Do you have any idea how to compare array with pointer in c?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol