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

Write a C/C++ program that connects to a MySQL server and checks intrusion attempts every 5 minutes. If an intrusion attempt is detected beep the internal speaker to alert the administrator. A high number of aborted connects to MySQL at a point in time may be used as a basis of an intrusion.

1 Answers  


find a number whether it is even or odd without using any control structures and relational operators?

22 Answers   Microsoft, Shashank Private Limited,


What is a far pointer in c?

0 Answers  


Is a house a mass structure?

0 Answers  


Why is a semicolon (;) put at the end of every program statement?

0 Answers  






plz answer..... a program that reads non-negative integer and computes and prints its factorial

2 Answers  


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

0 Answers   Wilco,


how to find out the inorder successor of a node in a tree??

2 Answers   TCS, Yahoo,


What is the use of ?: Operator?

0 Answers  


how to find out the reverse number of a digit if it is input through the keyboard?

6 Answers  


write a program to find the largest and second largest integer from an array

2 Answers   Value Labs,


write a program to sort the elements in a given array in c language

10 Answers   TCS,


Categories