What is pass by reference in functions?
No Answer is Posted For this Question
Be the First to Post Answer
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?
Write a program to add the following ¼+2/4+3/4+5/3+6/3+... (Like up to any 12 no.s)
differentiate between const char *a; char *const a; and char const *a;
2 Answers College School Exams Tests, HCL, TCS,
Implement a function that returns the 5th element from the end in a singly linked list of integers in one pass.
main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }
What is hashing in c language?
Result of the following program is main() { int i=0; for(i=0;i<20;i++) { switch(i) case 0:i+=5; case 1:i+=2; case 5:i+=5; default i+=4; break;} printf("%d,",i); } } a)0,5,9,13,17 b)5,9,13,17 c)12,17,22 d)16,21 e)syntax error
why the execution starts from main function
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.
What are global variables and how do you declare them?