Can I pass constant values to functions which accept structure
arguments?

Answers were Sorted based on User's Feedback



Can I pass constant values to functions which accept structure arguments?..

Answer / siva

We cannot pass constant values to functions.

Is This Answer Correct ?    6 Yes 1 No

Can I pass constant values to functions which accept structure arguments?..

Answer / guest

No. C has no way of generating anonymous structure values.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More C Interview Questions

Describe static function with its usage?

0 Answers  


what do you mean by enumeration constant?

0 Answers  


What is the output of the program given below #include<stdio.h> main() { char i=0; for(;i>=0;i++) ; printf("%d\n",i); }

21 Answers   ADITI, Student, TCS,


what is the need for main function in c?

5 Answers  


find largest element in array w/o using sorting techniques.

3 Answers   Zycus Infotech,






program to find the second largest word in a paragraph amongst all words that repeat more thn twice

4 Answers   CTS, iGate,


What are the different types of C instructions?

0 Answers   InterGraph,


what is difference between c and c++

4 Answers  


Is swift based on c?

0 Answers  


What is a pointer variable in c language?

0 Answers  


#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300

4 Answers   Tieto,


LOGIC OF Bodmas?

1 Answers  


Categories