Sunday, 12 July 2015

  • Sunday, July 12, 2015
c program print integer 

This c program first inputs an integer and then prints it. Input is done using scanf function and number is printed on screen using printf.
C programming code



#include <stdio.h>
int main()
{
    int num;
    printf("Enter a integer: ");  
    scanf("%d",&num);  /* Storing a integer entered by user in variable num */
    printf("You entered: %d",num);
    return 0;
}















Output of program:



Enter a integer: 25
You entered: 25


Related Posts:

  • GA QUESTIONS ASKED IN BOB EXAM SHIFT 2 1. Headquarter of AIIB- Beijing, China2. New Development Bank Headquarter - Sanghai, China3. One question asked from SBI Mingle4. RBI Sachet for which purpose- To check illegal money collection5. UEFA fo… Read More
  • Write a letter to your friend describing the happiest day of your life. Write a letter to your friend describing the happiest day of your life. 224, Jamat Lane, Chandigarh April 3, 2012 Dear Vicky, Last Sunday was the happiest day of my life. I had a flight in a helicopter. It fulfilled my long… Read More
  • RBI GRADE 'B' NOTIFICATION OUT RBI has announced the recruitment for 134 GRADE B OFFICERS. The examination will be in two phases. The detailed advertisement will be published on 5th October.                  … Read More
  • GA QUESTIONS ASKED IN BOB SHIFT 1 1. What is Crr Rate? - 4%2. Inflation Prediction by govt of India in next 5 years? - 4%3. Who is Union HRD Minister?-  Prakash Javadekar4. Who won Monaco Grand Pix? - Lewis Hamilton5. Who is the Gov… Read More
  • IBPS PO PRE VI की तैय्यारी कैसे करे Its a universal truth "If you fail to plan , you plans to fail". तो किसी भी परीक्षा दे इससे पहले कि आप अच्छी तरह से इसके लिए तैयार करना होगा। आजकल IBPS PO PRE  के लिए तैयार करने के बारे में कई सवाल हो रही है, तो… Read More
Related Posts Plugin for WordPress, Blogger...

Vacancy

RBI has announced the recruitment for 134 GRADE B OFFICERS.
 The examination will be in two phases.
 The detailed advertisement will be published on 5th October.

Popular Posts