Technical Interview Questions with Answers - Part 1Here is the part 2 of the most commonly asked technical interview questions with answers.1. & SymbolIt is used in two different places, one as a bitwise operator and other as a pointer address of operator. Returns the address of a variable and Binary AND Operator copies a bit to the result if it exists in both operands.2. How to write a function in C?return_type function name(parameter){body}3. Differentiate Array and Po…
Read moreHere are the most commonly asked Technical Interview Questions with Answers.(Specially for CSE and IT students.)
1. What is Data Structure?Data structure is a way of organizing data so that the information can be organized, processed, stored, and accessed quickly and effectively.2. Data Structure Types.Data structures can be classified into Linear data structure and Non- Linear data structure.
Linear Data Structure:ArrayStackQueueLinked ListNon - Linear Data Structure: GraphTre…
Here is the part 2 of Coding problems for technical interview with answers in C programming language.Click here to see coding problems for technical interview Part -1
1. GCD of two numbers.#include <stdio.h>int main(){ int num1, num2, i, gcd; printf("Enter two integers: "); scanf("%d %d", &num1, &num2); for(i=1; i <= num1 && i <= num2; ++i) { if(num1%i==0 && num2%i==0) gcd = i; } pr…
Coding problems for technical interview with answers in C programming language.
1. Linear Search#include <stdio.h>int main(){ int arr[100], search, i, n; printf("Enter number of elements in array:\n"); scanf("%d", &n); printf("Enter %d integers:\n", n); for (i = 0; i < n; i++) scanf("%d", &arr[i]); printf("Enter a number to search\n"); scanf("%d", &search); for (i = 0; i < n; i++) …
Follow On