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
#questio c++ program for drawing thick line

Aim: To implement a program to maintain information of employees in an educational institute using inheritance. Code:                       class staff {

6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler. Where ‘0’ denotes the "space".

A: No.       While realloc() need to copy the allocation, this uses a bitwise copy operation, that will tear several C++ objects to shreds. C++ objects must be allowed to copy t

Example for Register Storage Class - computer programming? main() { register int i; for (i=0; i { ............... ............... } } /* block exit will free the register

basic salary of an employe.the allowence are House rent 20% of basic salary Medical allowence is 10% of basic salary conveyence allowence is 10% calculate anrd display gross salar

To develop a web crawler such that when given a base URL, it will traverse the entire web tree and then build an index of keywords and what URL link they appear on.   The web crawl

how to make basics strong and best logic skills what are the best way to be a expert programmer ? what counts a lot knowledge or practice?

Consider the following mathematical function: (a) Write a procedure that computes f by means of a recursive process (b) Write a procedure that computes f by means of an

1 PETTERN1 (Pettern1.c)   main() {           int i,j,k=1,a;           clrscr();           for(i=1;i           {                    if(i>=3)