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

 

 

 

 

 

 

Only ASCII values #include <stdio.h> int main() { int i; char ch; for(i=0;i<256;i++) { printf(“%c”,ch); ch=ch+1; } return 0; } Output: ¬ !”#$%&'()*+,-./0123456789:;<=>?@ ABCDEFGHIJKLMNOPQRSTUVWXYZ^_` abcdefghijklmnopqrstuvwxyz{|}~ ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪ º¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ └┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■

Write a C Program to Only ASCII values

Only ASCII values #include <stdio.h> int main() { int i; char ch; for(i=0;i<256;i++) { printf(“%c”,ch); ch=ch+1; } return 0; } Output: ¬ !”#$%&'()*+,-./0123456789:;<=>?@ ABCDEFGHIJKLMNOPQRSTUVWXYZ^_` abcdefghijklmnopqrstuvwxyz{|}~ ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪ º¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ └┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■

#include <stdio.h> int main() { char ch; printf(“Enter the character”); scanf(“%c”,&ch); printf(“ASCII value of %c=%d”,ch,ch); return 0; } Output: Enter the character O ASCII value of O=79

Write a C Program to ASCII value of a Character:

#include <stdio.h> int main() { char ch; printf(“Enter the character”); scanf(“%c”,&ch); printf(“ASCII value of %c=%d”,ch,ch); return 0; } Output: Enter the character O ASCII value of O=79

#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 a c 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...