Skip to content

Gyan Today

Knowledge point

  • Home
  • Upcoming Jobs
  • Current Affairs
  • Exam Results
  • Tutorials
    • Programming
      • C Tutorial
  • Interview Question
    • Tricky C programming questions
    • Most Important Interview Questions In C
    • Operating System FAQ
      • OS Questions Set 1
    • Core Java Interview Questions
    • Software Tools FAQ
    • Linux Interview Questions
    • IPC FAQ
      • IPC Questions Set 1
    • Hadoop interview questions
    • LTE FAQ
      • LTE – Channels
      • LTE Questions Part 1
      • LTE Questions Part 2
      • LTE Questions Set 3
    • Python Interview Questions
      • Python Interview Questions set 1
      • Python Interview Questions set 2
      • Python Interview Questions set 3
    • Ruby Interview Questions
      • Ruby Interview Questions part 1
      • Ruby Interview Questions set 2
    • General Questions

Category: Most Important Interview Questions In C

Most important and frequently asked C interview questions

Q14. Write a C program to reverse the place of words in a sentence.

June 15, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

Suppose input is “Welcome to gyantoday” then output should be “gyantoday to welcome” Steps of  algorithm: Reverse whole sentence first.

Continue reading

Q13. Write a C program to reverse a word.

June 13, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

Also interviewer can ask  to write a C program to reverse a string. In below program we give input “welcome

Continue reading

Q12. Write a program to print diagonal element of an N*N matrix.

June 10, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

Lets take a matrix of 4*4 i.e. int matrix [4][4]; 11           12           13           14 21           22           23           24 31          

Continue reading

Q11. How to generate fibonacci sequence up to given nth number?

June 9, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

First we should know what fibonacci sequence is: The Fibonacci Sequence is the series of numbers: 0, 1, 1, 2, 3, 5, 8, 13,

Continue reading

Q10. How to fast multiply a number by 4?

June 6, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

Bitwise operations are slightly faster than addition and subtraction operations and usually significantly faster than multiplication and division operations. Because

Continue reading

Q9. Write a C program to swap two variables without using any temporary variable.

June 4, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

It is easy to swap two variables by using a temp variable, but question is slightly different. Method 1: x

Continue reading

Q8. How to add two numbers without using plus operator?

June 3, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

We can add two numbers without using plus operator, many of us quickly reply with below answer. a – (-b)

Continue reading

Q7. How to find in one line whether a given number is power of 2 or not?

June 2, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

It seems difficult question for them, who have encountered these type of earlier. This type of question checks your understandings

Continue reading

Q6. Write a C program to convert a decimal number into a binary number system.

June 1, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

I am sure we all know about number system, still I would like to explain about binary and decimal number

Continue reading

Q5. Find the size of structure without using sizeof() operator.

May 31, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

To find size of a structure.  We can use a pointer as we know if we increment structure pointer by

Continue reading

Q4. Write a program to print numbers from 1 to 100 without using loops.

May 30, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

There is nothing tough to write this program, only trick should click in your mind at time of program. I

Continue reading

Q3. Write a C program to check given number is palindrome or not ?

May 29, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

Also Interviewer can ask to you, write a C program to check given string is palindrome or not? Palindromes are

Continue reading

Q2. Write a C program to calculate power of a number (x,y).

May 28, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

There may be multiple method to calculate power of a number. Method 1:  Using function recursion #include<stdio.h> int power(int a, unsigned

Continue reading

Q1. Find the factorial of a given number using recursion

May 27, 2015 Gyantoday Most Important Interview Questions In C Leave a comment

Generally these type of question ask, to check your knowledge of function recursion. Given below C program to find factorial

Continue reading

Posts pagination

«Previous Posts 1 … 5 6 7 8 Next Posts»

Recent Posts

  • Born today Famous People’s Birthdays 1st September 01/09 in India and world
  • Born today Famous People’s Birthdays 31st August 31/08 in India and world
  • Born today Famous People’s Birthdays 30th August 30/08 in India and world
  • Born today Famous People’s Birthdays 29th August 29/08 in India and world
  • Born today Famous People’s Birthdays 28th August 28/08 in India and world

Recent Comments

  • Gyantoday on Born today Famous People’s Birthdays 27th August 27/08 in India and world
  • PAUL on Q58 What is constant expression required error in array?
  • Ganesh on User defined function of strcmp()
  • Abrar Alam Khan on Born today Famous People’s Birthdays 27th August 27/08 in India and world
  • Avinash singh on Q43 Write a C program to reverse odd bits or even bits of an integer.

Archives

  • August 2017
  • August 2016
  • July 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • January 2015

Categories

  • Android
  • Cell Phones
  • Core Java Interview Questions
  • Current Affairs
  • Exam Results
  • General Questions
  • Hadoop interview questions
  • IPC FAQ
  • IPC Questions Set 1
  • Jobs Today
  • Linux
  • Linux Interview Questions
  • LTE – Channels
  • LTE FAQ
  • LTE Questions Part 1
  • LTE Questions Part 2
  • LTE Questions Set 3
  • Mac OS
  • Most Important Interview Questions In C
  • News
  • Operating System FAQ
  • OS
  • OS Questions Set 1
  • Others
  • Python Interview Questions
  • Python Interview Questions set 1
  • Python Interview Questions set 2
  • Python Interview Questions set 3
  • Ruby Interview Questions
  • Ruby Interview Questions part 1
  • Ruby Interview Questions set 2
  • Science
  • Sports News
  • Today's Birthday
  • Tricky C programming questions
  • Upcoming Exams and Dates
  • Windows
  • XAMPP

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
WordPress Theme: Tortuga by ThemeZee.