Can I pass constant values to functions which accept structure
arguments?
Answer Posted / guest
No. C has no way of generating anonymous structure values.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the significance of c program algorithms?
#include
Explain Basic concepts of C language?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Explain what are multibyte characters?
What is getch() function?
What math functions are available for integers? For floating point?
What are the applications of c language?
Can a variable be both static and volatile in c?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
Can true be a variable name in c?
What is cohesion in c?
What is operator precedence?
Is a house a mass structure?
Tell me when would you use a pointer to a function?