Can I pass constant values to functions which accept structure
arguments?
Answer Posted / siva
We cannot pass constant values to functions.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How old is c programming language?
What is double pointer in c?
What is the difference between the local variable and global variable in c?
how should functions be apportioned among source files?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
What is main return c?
What are type modifiers in c?
Explain enumerated types.
Can include files be nested?
What are the 5 types of organizational structures?
What is the function of this pointer?
What is c token?
Write a program in c to replace any vowel in a string with z?
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.
Who developed c language and when?