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
is it possible to create your own header files?
How do you define CONSTANT in C?
What are the 5 elements of structure?
How are structure passing and returning implemented?
What is an auto variable in c?
How can I access an I o board directly?
What is a list in c?
Is a house a mass structure?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What is difference between && and & in c?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Explain the properties of union. What is the size of a union variable
Explain 'bit masking'?
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.