Can we declare function inside main?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Interview Questions

what is the code to display color fonts in the output?

1 Answers  


How can I get Single byte from 'int' type variable? Can we alter single bit or multiple bits in int type variable? if so, How?

2 Answers  


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

0 Answers   Aspire, Infogain,


Explain what is the use of a semicolon (;) at the end of every program statement?

0 Answers  


Differentiate between new and malloc(), delete and free() ?

0 Answers   iNautix,






Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.

0 Answers  


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

0 Answers  


Explain how do you determine the length of a string value that was stored in a variable?

0 Answers  


Given a string write a program to print all alphabetical characters in the order of their occurance first,followed by the sum of the numeric characters then followed by the special characters in the order of their occurance.

1 Answers   College School Exams Tests, Wipro,


Where static variables are stored in c?

0 Answers  


How can I direct output to the printer?

0 Answers  


How can I get back to the interactive keyboard if stdin is redirected?

0 Answers  


Categories