Just Programming

Pages

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

Wednesday, 13 March 2013

main as variable Name


#include<stdio.h>
int main(){
    int main = 80;
    printf("%d",main);
    return 0;
}
80
Explanation:
Variable name can be main.


Blog Author: Vijay Kumar

Go to: Java Aptitude

Posted by Vijay Kumar at 10:53 am
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)
      • ▼  Mar 13 (10)
        • Global variables with same name
        • Global Variables same name 2
        • Simple struct code
        • Global Variable same name 3
        • different variable scope
        • Different variable scope 2
        • main as variable Name
        • Different variable scope 3
        • printf as Variable name
        • EOF as variable name
      • ►  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.