Example program of c programming, C/C++ Programming

  1. Write a c program to determine interchanged values between two variables?[Hint - if loop]
  2. What will be the output of the program?
  3. How many times this loop will execute?
  4. Write a c program to prints the number between 10 and 20?
  5. What will be output of following c code ?
  6. Which datatype cannot be checked in a switch-case statement ?
  7. Write a program to detect the entered number as to whether it is even or odd ? Use goto statement ?
  8. What will be output of following c code ?
  9. Point out the error, if any in the program.
  10. Which of the following errors would be reported by the compiler on compiling the program given below?
  11. Which of the following statements are correct about the below program?
  12. What will be output of following c code?
  13. The way the break is used to take control out of switch and continue to take control of the beginning of the switch?
  14. Write a program to find whether a year is Leap year ? [Hint : if – else Statement] ?
  15. Write about if-else statements in a C-program?
  16. Can we use a switch statement to switch on strings?
  17. Write C program for Electricity Bill ?[Hint : if – else statement]
  18. Write a syntax for Nested- if else statement?
  19. Write a program to find the roots of the quadratic equation ? [Hint : if (real) – else (imagenary) statement]
Posted Date: 3/8/2013 5:55:10 AM | Location : United States







Related Discussions:- Example program of c programming, Assignment Help, Ask Question on Example program of c programming, Get Answer, Expert's Help, Example program of c programming Discussions

Write discussion on Example program of c programming
Your posts are moderated
Related Questions
Program is to search for a given character in a string: Program is to search for a given character in a string and print point of match char *stsearch(char *string, char sea

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

Demonstration using Moss Open Source Machine Translation Project Description: Moses is an open source Statistical Machine Translation System. I need someone to provide me a d

Default assignment operator mange assigning one object to another object of the same class. It is member to member copy as shallow copy.

Write a function that has two int parameters num and n, and returns TRUE when the nth bit in num is 1, otherwise FALSE. This function should use the function in the above problem.

In rPeANUt implement the "char getchar()" and "void printstring(char *str)" functions. Using these functions implement the following: void main() {    while (1) {       ch


to count number of occurances

#question:-program to counts tha no of occurances of the string in the nth padovan string

Define the following Window class : - integer  data members, width and height - a constructor  that accepts two integer  parameters  (width followed by height) and uses them to ini