Answer Posted / sonu
string:string is a collection of similar datatype,like
"sneha".
array:an array is a collection of different datatype,like
a[10].we can store charactor value as well as integer.
| Is This Answer Correct ? | 5 Yes | 7 No |
Post New Answer View All Answers
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
When was c language developed?
What are the standard predefined macros?
how we can make 3d venturing graphics on outer interface
Explain 'bit masking'?
What is scope and lifetime of a variable in c?
Can the sizeof operator be used to tell the size of an array passed to a function?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
How to create struct variables?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
Do you know what are bitwise shift operators in c programming?
Why main is used in c?
What are the two forms of #include directive?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What is operator promotion?