Just Programming

Pages

  • Home
  • C C++ Topics
  • JAVA Aptitude
  • Assaan IT Solutions
  • My Facebook Group
  • My Site

Tuesday, 12 March 2013

underscore as variable


#include<stdio.h>
int main(){
    int _=5;
    int __=10;
    int ___;
    ___=_+__;
    printf("%i",___);
    return 0;
}

output: 15

Explanation: Variable name can have only underscore.


Blog Author: Vijay Kumar

Go to: Java Aptitude

Posted by Vijay Kumar at 11:38 pm
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2013 (291)
    • ▼  March (141)
      • ►  Mar 11 (14)
      • ▼  Mar 12 (6)
        • int goto=5;
        • long int 1a=5l;
        • underscore as variable
        • int max-val=100;
        • class, public and private as variables
        • int abcdefghijklmnopqrstuvwxyz123456789=10;
      • ►  Mar 13 (10)
      • ►  Mar 14 (19)
      • ►  Mar 15 (11)
      • ►  Mar 16 (20)
      • ►  Mar 18 (10)
      • ►  Mar 19 (10)
      • ►  Mar 22 (15)
      • ►  Mar 24 (11)
      • ►  Mar 26 (15)
    • ►  April (135)
      • ►  Apr 01 (9)
      • ►  Apr 05 (26)
      • ►  Apr 06 (14)
      • ►  Apr 08 (10)
      • ►  Apr 09 (15)
      • ►  Apr 10 (10)
      • ►  Apr 11 (17)
      • ►  Apr 12 (8)
      • ►  Apr 13 (5)
      • ►  Apr 14 (4)
      • ►  Apr 18 (8)
      • ►  Apr 23 (6)
      • ►  Apr 27 (3)
    • ►  May (9)
      • ►  May 06 (1)
      • ►  May 08 (2)
      • ►  May 09 (2)
      • ►  May 10 (1)
      • ►  May 16 (1)
      • ►  May 20 (1)
      • ►  May 21 (1)
    • ►  June (6)
      • ►  Jun 07 (6)

Subscribe To Just Learning

Posts
Atom
Posts
Comments
Atom
Comments

Total Pageviews

Simple theme. Powered by Blogger.