What is the purpose of macro in C language?
No Answer is Posted For this Question
Be the First to Post Answer
Define a structure to store roll no, name and marks of a student. Using the structure of above write a ‘C’ program to create a file “student.dat”. There must be one record for every student in the file. Accept the data from the user.
regarding the scope of the varibles;identify the incorrect statement: a.automatic variables are automatically initialised to 0 b.static variables are are automatically initialised to 0 c.the address of a register variable is not accessiable d.static variables cannot be initialised with any expression
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
What is string function c?
Explain modulus operator.
WRITE A PROGRAM IN C TO MULTIPLY TWO 2-D ARRAYS
What is string concatenation in c?
main() { int l=6; switch(l) { default:l=l+2; case 4:l=4; case 5:l++; break; } printf("%d",l); }
FIND THE OUTPUT IF THE INPUT IS 5 5.75 void main() { int i=1; float f=2.25; scanf("%d%f",&i,&f); printf("%d %f",,i,f); } ANSWER IS 5 AND 2.25 WHY?
What is structure data type in c?
Explain what is a stream?
Is javascript based on c?