• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • C

Frequently Asked c interview questions and answers for freshers Page 9

c Select Another Category Select Another Topic

Programming and Technical

  • Android 118
  • ASP.NET 60
  • C 459
  • C++ 448
  • DATA STRUCTURE 66
  • DBMS 77
  • ELECTRONICS 39
  • Java 261
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70

c Question Topics

    Category (16)

    General Ability (2)

  • General Knowledge (2)
  • HR Interview (2)

  • Interview (2)
  • Logical Reasoning (9)

  • Coding Decoding (2)
  • Cryptography (1)
  • General Mental Ability (1)
  • Letter Series (1)
  • Mathematical Reasoning (1)
  • Missing Character (1)
  • Seating Arrangement (1)
  • Numerical Ability (12)

  • Age Problem (1)
  • Algebra (1)
  • Alligation or Mixture (1)
  • Data Interpretation (1)
  • Height and Distance (1)
  • Percentage (2)
  • Ratio and Proportion (1)
  • Time Distance and Speed (1)
  • Programming (218)

  • Arrays (15)
  • Basics (8)
  • Database (6)
  • Definition (25)
  • Functions (4)
  • Output (42)
  • Program (85)
  • Puzzles (1)
  • Technical (24)
  • Variables (1)
  • Verbal Ability (3)

  • Antonyms (1)
  • Miscellaneous (1)
  • Spotting Errors (1)
Keep an EYE (0)
Solved Question (6) UnSolved Question (454)
Pages: 46FirstPrev567891011121314NextLast
Advertisements

(#M40040057) C QUESTION programing Keep an EYE Keep an eye puzzle Keep an eye puzzle

Write a program that lets you enter a distance in kilometers and that converts it into miles. The conversion factor is that 1 mile = 1.6093 kilometers. Write your own method to do the conversion and return the answer to the main program.

Asked In C smita (11 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (4)   (1) Submit Your Solution Technical

(#M40018738) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the maximum combined length of command line
arguments including the space between adjacent
arguments?

Asked In C (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (7)   (2) Submit Your Solution Output
Advertisements

(#M40018718) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the purpose of fflush() function.

Options
1) flushes all streams and specified streams.
2) flushes only specified stream.
3) flushes input/output buffer.
4) flushes file buffer.

Asked In C (12 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (11)   (2) Submit Your Solution Definition

(#M40154371) C QUESTION simple Keep an EYE Keep an eye puzzle Keep an eye puzzle

void main()
{
float j;
j=1000*1000;
printf("%f",j);
}

Asked In C arun kumar r (9 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (7)   (4) Submit Your Solution Output

(#M40018722) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

In C, if you pass an array as an argument to a function, what actually gets passed?

Options
1) Value of elements in array
2) First element of the array
3) Base address of the array
4) Address of the last element of array

Asked In C (12 years ago)
Unsolved Read Solution (21)
Is this Puzzle helpful?   (120)   (30) Submit Your Solution Program

(#M40018331) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

Is the following statement a declaration or definition?
extern int i;

Options
1) Declaration
2) Definition
3) Function
4) Error

Asked In C C.Manohar (12 years ago)
Unsolved Read Solution (13)
Is this Puzzle helpful?   (14)   (12) Submit Your Solution Program

(#M40030319) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is a preprocessor, what are the advantages of
preprocessor?

Asked In C MAN (11 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (6)   (0) Submit Your Solution Time Distance and Speed

(#M40032870) C QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Write a program that displays output as


1 2 4 7 11
3 5 8 12
6 9 13
10 14
15

Asked In C (11 years ago)
Unsolved Read Solution (10)
Is this Puzzle helpful?   (13)   (1) Submit Your Solution Program

(#M40029245) C QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

output?
#define clrscr() 100
main()
{
clrscr();
printf("%dn",clrscr());
}

A. 100

Explanation: Preprocessor executes as a seperate pass before the execution of the compiler.
So textual replacement of clrscr() to 100 occurs. The input program to compiler looks like this :
main()
{
100;
printf("%dn",100

Asked In C MAN (12 years ago)
Unsolved
Is this Puzzle helpful?   (1)   (0) Submit Your Solution

(#M40018746) C QUESTION C- QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What will be the output of the program?
#include
int main()
{
int x=12, y=7, z;
z = x!=4 || y == 2;
printf("z=%dn", z);
return 0;
}
Options
1) z=0
2) z=1
3) z=4
4) z=2

Asked In C (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (8)   (4) Submit Your Solution Program
Keep an EYE (0)
Solved Question (6) UnSolved Question (454)
Pages: 46FirstPrev567891011121314NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

Mathematics is one word which is useful in every bits of our life,whether we have to put one step or to think anything.

Md.Intshamuddin

"Mathematics is one of the ways to get enlightened"

prashanth

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com