19.6.20

c macro :where to define a variable


WHERE TO DEFINE A VARIABLE
void main()
{

    int a=10;
    printf("%d\n",a);
    {

        int b=20;
        printf("%d",b);
    }
}
OUTPUT:
10
20

No comments:

Post a Comment

JAVA program pattern 2

import java.util.Scanner; public class pattern3 { public static void main(String args[]) { int i,j; Scanner sc=new Scanner(System.in); Syste...