Finding Id of Students using union || Unions || C programming
In this, we are going to print Id of Students using Unions with help of C Programming Language.

 

#include <stdio.h>
#include <string.h>
union abc
{
    int id;
};
int main()
{
    union abc var;
    var.id = 100;
    printf("%d",var.id);
    return 0;
}


//.........Coded by ARADHANA MISHRA

#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post