#include<stdio.h>
#include<conio.h>
int a = 15; //global a
void main()
{
int a = 15; // a redeclared, local to main
clrscr();
{
int b = a;
int a = 35; // a declared again
// local to inner block
printf(" In inner block \n");
printf(" b = %d\n ",b);
printf("a = %d\n",a);
printf("::a = %d\n ",::a);
}
printf("\In outer block\n ");
printf("a = %d\n");
printf("::a = %d\n ",::a);
getch();
}
Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement 
Corporate Services
  Web Design and development
  Web Promotion (SEO)
  Multimedia/CD Presentation
  Software development

  E.Commerce

Training@balujalabs

  Software Courses
  Hardware Courses
  Networking.Courses
  Mobile Repairing Courses
  UGC Degrees
Student Corner
 Programming & Projects
 Placement Papers
 Project Ideas
 Synopsis Ideas

  Franchise Section

 Administrator
Franchise Inquiry
 
 

To demonstrate the use of scope resolution operator

 

 

 

 

 

 

 

 

 

                                                                                                                                          

1
2
3 To demonstrate the use of scope resolution operator
4 To find circumference of a circle.
5 To find hexadecimal and octal value of a number.
6 To convert a temperature from Fahrenheit to degree cells.
7 To find sum of the digits of a number.
8 To obtain gross salary by calculating dearness allowance and house rent.
9 Program to convert kilometers to meters.

 

     
Home       |      About Us       |     Portfolio       |      Services       |       Career        |    Contact Us       |      Industrial Training        |      Achievement