can we declare a function in side the structure?

Answers were Sorted based on User's Feedback



can we declare a function in side the structure?..

Answer / savita

It can be possible in C++, but not in C.

Is This Answer Correct ?    4 Yes 3 No

can we declare a function in side the structure?..

Answer / guest

by using the loop

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Interview Questions

The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

1 Answers  


How can you determine the size of an allocated portion of memory?

0 Answers   Aspire, Infogain,


what type of errors are checked during compilation

3 Answers  


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

0 Answers  


24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?

0 Answers  






where can function pointers be used?

2 Answers  


How do I initialize a pointer to a function?

2 Answers  


what is c?

4 Answers   IBM, TCS,


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

0 Answers   TISL,


What should malloc() do?

0 Answers  


Which is not valid in C? 1) class aClass{public:int x;} 2) /* A comment */ 3) char x=12;

7 Answers  


What is a program flowchart?

0 Answers  


Categories