Logo 
Search:

C Programming Articles

Submit Article
Home » Articles » C Programming » BeginnersRSS Feeds

Simple program to assign values to many variables in one line

Posted By: Alice Miller     Category: C Programming     Views: 2885

Write a simple program to assign values to many variables in one line.

Code for Simple program to assign values to many variables in one line in C Programming

 #include<stdio.h>
 
 main()
 {
   int i,j,k;
   k = (i = 4, j = 5);
   printf("k = %d",k);
  }
  
Share: 



Alice Miller
Alice Miller author of Simple program to assign values to many variables in one line is from Frankfurt, Germany.
 
View All Articles

Related Articles and Code:


 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!