Wednesday, September 10, 2014

// // Leave a Comment

C Program to Sum Two Numbers

A simple C program to add two integer numbers.

#include <stdio .h>
int main (void) {
    int x, y, z;
    x = 5;
    y = 52;
    z = x + y;
    printf("x = 5 \n y = 52 \n");
    printf("z = x + y = %d \n", z);
    return 0;


Post a Comment

DISCLAIMER: Opinions expressed in comments are those of the comment writers alone and does not reflect or represent the views of the post author. We reserve the right to delete any post deemed inappropriate or offensive and/or spammy. Please do not use abusive words/hate speech.

I Appreciate your valuable Feedback. So, Please DO NOT SPAM - Spam comments will be deleted immediately.

Don't use brand name in name field and you're not allowed to use links in comments unless it's necessary. Such comments will be removed immediately. To get notified of replies or follow-up comments, click the box next to notify me.