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

What is the use of a ‘’ character?

0 Answers  


What are types of functions?

0 Answers  


Which is the best website to learn c programming?

0 Answers  


write a c program to calculate sum of digits till it reduces to a single digit using recursion

0 Answers   IBM,


What is the difference between c &c++?

0 Answers  


How to find the digits truncation when assigning the interger variable to the character variables. like int i=500; char x = i : here we have truncation. how to find this. another ex: i =100; char x=i. here we do not have truncation.

1 Answers   HCL,


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

0 Answers  


What are the ways to a null pointer can use in c programming language?

0 Answers  


Explain the importance and use of each component of this string: Foo.Bar, Version=2.0.205.0, Culture=neutral, PublicKeyToken=593777ae2d274679d

1 Answers   TCS,


What is an lvalue?

0 Answers  


what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175

5 Answers   Wipro,


while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?

4 Answers   Aptech,


Categories