Yahoo India Web Search

  1. Ad

    related to: basic c programs asked in interview
  2. The Avg Cost Of A Mis-Hire Is 200% Of Annual Salary. Save Money With Expert-Made Job Tests. Spend Valuable Time Focusing On The Best Candidates With Proven Job Skills Tests

    Free - $0.00/month - View more items

Search results

  1. Jun 15, 2024 · This article on C Coding Interview Questions offers a comprehensive collection of practice questions suitable for both beginners and advanced learners. List of 50 C Coding Interview Questions and Answer. Here is a list of 50 C coding interview questions and answers: 1. Find the largest number among the three numbers. C.

    • Why is C called a mid-level programming language? Due to its ability to support both low-level and high-level features, C is considered a middle-level language.
    • What are the features of the C programming language? Features of C Programming language. For more information, refer to the article – Features of C programming language.
    • What are basic data types supported in the C Programming Language? Each variable in C has an associated data type. Each data type requires different amounts of memory and has some specific operations which can be performed over it.
    • What are tokens in C? Tokens are identifiers or the smallest single unit in a program that is meaningful to the compiler. In C we have the following tokens
    • C code to give Fibonacci series. #include int fibonacci(int n) { if (n <= 1) return n; return fibonacci(n-1) + fibonacci(n-2); } int main() { int n, i; printf("Enter the number of terms: "); scanf("%d", &n); printf("Fibonacci series: "); for (i = 0; i < n; i++) printf("%d ", fibonacci(i)); return 0; }
    • C program to check for prime number? #include #include bool is_prime(int n) { int i; for (i = 2; i <= n/2; i++) { if (n % i == 0) return false; } return true; } int main() { int n; printf("Enter a positive integer: "); scanf("%d", &n); if (is_prime(n)) printf("%d is a prime number.\
    • C program to give factorial of a number? #include int factorial(int n) { if (n == 0) return 1; return n * factorial(n-1); } int main() { int n; printf("Enter a positive integer: "); scanf("%d", &n); printf("Factorial of %d = %d\n", n, factorial(n)); return 0; }
    • C code to check for palindrome? #include #include bool is_palindrome(const char *str) { int length = strlen(str); for (int i = 0; i < length/2; i++) { if (str[i] !=
  2. Jun 16, 2024 · Refer to the article C++ Interview Questions and Answers for the latest data. 1. What are the differences between C and C++? C++ is a kind of superset of C, most C programs except for a few exceptions (See this and this) work in C++ as well. C is a procedural programming language, but C++ supports both procedural and Object Oriented programming. Si

  3. Dec 22, 2023 · The most commonly asked or frequently asked C interview questions are like What is…..What is the difference between….Write a C program to…..Find the error in the source code given below….What is the output of the source code given below….etc.

  4. Jan 3, 2024 · Get insight into top questions asked in a C interview. Explore from basic to experienced questions on C.

  5. People also ask

  6. Jun 12, 2024 · Are you preparing for a C interview? Feeling excited but quite nervous at the same time? fear not..! This comprehensive guide is here to guide you to demonstrate a solid grasp of C concepts, help you to grow your problem-solving skills, and also make you feel confident to ace your interview. Why are C Interview Questions Important?

  1. People also search for