Interview Topics

On this page we present you the best “Interview” collections of “IT” and “Non-IT”.Start here to learn more about this “Interview” resources to practice with different types of Questions and Answers. This is the best guide for a deep understanding of what you have chosen.

Admin

Adobe

Apache

Banking

Big Data Analytics

Business Topics

Business intelligence

Cloud computing

 

 

 

 

 

Database

DevOps

Digital Marketing

Hadoop

 

 

 

 

 

 

IBM

IT Security

Java

JavaScript library

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Microsoft

Mainframe

Mobile Development

Networking

 

 

 

 

 

 

 

 

Oracle

Peoplesoft

Programming

PHP Framework

 

Qlikview

SAP

SAS

Salesforce

 

 

 

 

 

Testing

Telecom

Web Development

 

 

 

 

 

 

#include<stdio.h> int main() { int i; for(i = 0; i < 26; i++){ printf(“%c = %d | %c = %d \n”,’A’+i,’A’+i,’a’+i,’a’+i); } return 0; } } Output: A = 65 | a = 97 B = 66 | b = 98 C = 67...

Write a C program to display All ASCII alphabets

#include<stdio.h> int main() { int i; for(i = 0; i < 26; i++){ printf(“%c = %d | %c = %d \n”,’A’+i,’A’+i,’a’+i,’a’+i); } return 0; } } Output: A = 65 | a = 97 B = 66 | b = 98 C = 67...

#include<stdio.h> int fibonacci_series(int); int main() { int count, c = 0, i; printf(“Enter number of terms:”); scanf(“%d”,&count); printf(“\nFibonacci series:\n”); for ( i = 1 ; i <= count ; i++ ) { printf(“%d\n”, fibonacci_series(c)); c++; } return 0; } int fibonacci_series(int num) { if...

Write a C Program to display Fibonacci series using recursion

#include<stdio.h> int fibonacci_series(int); int main() { int count, c = 0, i; printf(“Enter number of terms:”); scanf(“%d”,&count); printf(“\nFibonacci series:\n”); for ( i = 1 ; i <= count ; i++ ) { printf(“%d\n”, fibonacci_series(c)); c++; } return 0; } int fibonacci_series(int num) { if...

Factorial: using symbol “! ” Mathematical Ex: 5! = 120 (5*4*3*2*1=120)) Program: #include<stdio.h> int main() { int i,fact,number; printf(“Enter a number: “); scanf(“%d”,&num); for(i=1,fact=1;i<=num;i++){ or (for(i=num,fact=1;i<=1;i–)) fact=fact*i; } printf(“Factorial of %d is: %d”,num,fact); return 0; } Output: Enter a number: 9 Factorial of 9...

Write a C Program to find factorial of number

Factorial: using symbol “! ” Mathematical Ex: 5! = 120 (5*4*3*2*1=120)) Program: #include<stdio.h> int main() { int i,fact,number; printf(“Enter a number: “); scanf(“%d”,&num); for(i=1,fact=1;i<=num;i++){ or (for(i=num,fact=1;i<=1;i–)) fact=fact*i; } printf(“Factorial of %d is: %d”,num,fact); return 0; } Output: Enter a number: 9 Factorial of 9...

Examples of Armstrong Numbers: 0, 1, 2, 3, 153, 370, 407 etc. Program: #include<stdio.h> int main(){ int num,a,p,total=0; printf(“Enter a number:”); scanf(“%d”,&num); a=num; while(a!=0){ p=a%10; total=total+(p*p*p); a=a/10; } if(total == num){ printf(“%d is a Armstrong number.\n”,num); }else{ printf(“%d is not a Armstorng number.\n”,num); }...

Write a C program given number Armstrong number or not (only three digits)

Examples of Armstrong Numbers: 0, 1, 2, 3, 153, 370, 407 etc. Program: #include<stdio.h> int main(){ int num,a,p,total=0; printf(“Enter a number:”); scanf(“%d”,&num); a=num; while(a!=0){ p=a%10; total=total+(p*p*p); a=a/10; } if(total == num){ printf(“%d is a Armstrong number.\n”,num); }else{ printf(“%d is not a Armstorng number.\n”,num); }...

Program: #include <stdio.h> int main() { int a, i; printf(“Enter a number: “); scanf(“%d”,&a); for(i=0; i<=5; ++i) { printf(“%d * %d = %d \n”, a, i, a*i); } return 0; } } Output: Enter a number: 7 7 * = 7 * 1 = 7 7 * 2 = 14 7 * 3

Write a c program Multiplication table

Program: #include <stdio.h> int main() { int a, i; printf(“Enter a number: “); scanf(“%d”,&a); for(i=0; i<=5; ++i) { printf(“%d * %d = %d \n”, a, i, a*i); } return 0; } } Output: Enter a number: 7 7 * = 7 * 1 = 7 7 * 2 = 14 7 * 3

Program: #include <stdio.h> #include <conio.h> int main(){ int a, b, c; printf(“Enter two numbers \n”); scanf(“%d %d”, &a, &b); printf(“\na:%d\n b:%d\n”,a,b); c = a; a = b; b = c; printf(“\nAfter Swap\n”); printf(“\na:%d\n b:%d\n”,a,b); getch(); return 0; } Output: Enter two numbers 6 7...

Write ac program to swap two numbers

Program: #include <stdio.h> #include <conio.h> int main(){ int a, b, c; printf(“Enter two numbers \n”); scanf(“%d %d”, &a, &b); printf(“\na:%d\n b:%d\n”,a,b); c = a; a = b; b = c; printf(“\nAfter Swap\n”); printf(“\na:%d\n b:%d\n”,a,b); getch(); return 0; } Output: Enter two numbers 6 7...

Program: #include <stdio.h> int main(){ int year; printf(“Enter a year :”); scanf(“%d”,&year); if(((year%400==0 )||(year%100!=0))&&(year%4==0)) printf(“%d is a leap year.\n”,year); else printf(“%d is not a leap year.\n”,year); return 0; } Output 1: Enter a year: 1997 1997 is not a leap year. Output 2: Enter...

Write C program to check Leap year or Not

Program: #include <stdio.h> int main(){ int year; printf(“Enter a year :”); scanf(“%d”,&year); if(((year%400==0 )||(year%100!=0))&&(year%4==0)) printf(“%d is a leap year.\n”,year); else printf(“%d is not a leap year.\n”,year); return 0; } Output 1: Enter a year: 1997 1997 is not a leap year. Output 2: Enter...

Arithmetic operators: Addition : + ; Example: 4+2=6 Subtraction : – ; Example: 4-2=2 Multiplication : * ; Example: 4*2=8 Division : / ; Example: 4/2=2 Modulo : % ; Example: 4/2=0(reminder value) Basics: Program: #include <stdio.h> int main() { int N1,N2,sum,difference,product,modulo; float quotient;...

Write a c program to addition, subtraction, multiplication, division and Modules by using two integers

Arithmetic operators: Addition : + ; Example: 4+2=6 Subtraction : – ; Example: 4-2=2 Multiplication : * ; Example: 4*2=8 Division : / ; Example: 4/2=2 Modulo : % ; Example: 4/2=0(reminder value) Basics: Program: #include <stdio.h> int main() { int N1,N2,sum,difference,product,modulo; float quotient;...