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 purpose of 'register' keyword?
How is a pointer variable declared?
How can a program be made to print the name of a source file where an error occurs?
How does pointer work in c?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
What are the advantages of using macro in c language?
What does sizeof function do?
How the c program is executed?
What is a structure in c language. how to initialise a structure in c?
Why do we need functions in c?
What is the use of getch ()?
What is the purpose of & in scanf?
Explain how can I read and write comma-delimited text?
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
write a program for the normal snake games find in most of the mobiles.