Interview Hacks 👈
No matter how poorly a candidate is doing.There is always something they got right. Find a way to infuse some positivity into the interview.
No matter how poorly a candidate is doing.There is always something they got right. Find a way to infuse some positivity into the interview.
1. Program to print "Hello World!!".
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("Hello World!!");
getch();
}
#basics
@programming_and_coding
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("Hello World!!");
getch();
}
#basics
@programming_and_coding
2. Program to assign values of two numbers and print their addition.
#include<stdio.h>
#include<conio.h>
void main()
{
int a=10,b=20;
clrscr();
int ans = a + b;
printf("Addition is : %d",ans);
getch();
}
#basics
@programming_and_coding
#include<stdio.h>
#include<conio.h>
void main()
{
int a=10,b=20;
clrscr();
int ans = a + b;
printf("Addition is : %d",ans);
getch();
}
#basics
@programming_and_coding
3. Program to accept values of two numbers and print their addition.
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,ans;
clrscr();
printf("Enter 1st number:");
scanf("%d",&a);
printf("Enter 2nd number:");
scanf("%d",&b);
ans = a + b;
printf("Addition is : %d",ans);
getch();
}
#basics
@programming_and_coding
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,ans;
clrscr();
printf("Enter 1st number:");
scanf("%d",&a);
printf("Enter 2nd number:");
scanf("%d",&b);
ans = a + b;
printf("Addition is : %d",ans);
getch();
}
#basics
@programming_and_coding