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

I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

0 Answers  


What is the newline escape sequence?

0 Answers  


What is the exact difference between '\0' and ""

3 Answers  


write a program to display all prime numbers

0 Answers  


Is it better to bitshift a value than to multiply by 2?

0 Answers  






#include<stdio.h> #include<conio.h> void main() {clrscr(); char another='y'; int num; for(;another=='y';) { printf("Enter a number"); scanf("%d",&num); printf("squre of %d is %d",num,num*num); printf("\nwant to enter another number y/n"); scanf("%c",&another); } getch(); } the above code runs only one time.on entering 'y' the screen disappeares.what can i do?

3 Answers  


Why array is used in c?

0 Answers  


Why isn't it being handled properly?

0 Answers  


What are the uses of a pointer?

0 Answers  


What is the diffrent between while and do while statement ?

6 Answers  


int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?

2 Answers  


What is difference between && and & in c?

0 Answers  


Categories