• 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 20

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: 46FirstPrev16171819202122232425NextLast
Advertisements

(#M40152275) C QUESTION C Language Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is sizeof(a)?
int *a[10];
int *(a)[10];
int **(a)[10];
int *a(int b,char ch);

Asked In C Nikhil (10 years ago)
Unsolved Read Solution (5)
Is this Puzzle helpful?   (4)   (1) Submit Your Solution Output

(#M40028762) C QUESTION Technical Question on c Keep an EYE Keep an eye puzzle Keep an eye puzzle

Advantages of a macro over a function?

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

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

What are the two forms of #include directive?

Asked In C MAN (11 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (1)   (1) Submit Your Solution Definition

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

output?
Q. What is the difference between ordinary variable and pointer in C?

A. An ordinary variable is like a container it can hold any value and we can change the value of ordinary variable at a time throughout the program .A pointer is a variable that stores the address of another Variable.

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

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

Question. Difference between syntax vs logical error?

Answer.
Syntax Error
These involves validation of syntax of language.
compiler prints diagnostic message.
Logical Error
logical error are caused by an incorrect algorithm or by a statement mistyped in such a way that it doesn't violet syntax of language.
difficult to find

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

(#M40041168) C QUESTION Just do it Keep an EYE Keep an eye puzzle Keep an eye puzzle

#include
void main()
{
int a,b;
scanf("%d*%d%d,&a,&b);
printf("%d%d",&a,&b);
}

output???

Asked In C Karthick Raja (11 years ago)
Unsolved Read Solution (6)
Is this Puzzle helpful?   (11)   (5) Submit Your Solution Output

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

output??
main()
{
41printf("%p",main);
}8

Answer: Some address will be printed.

Explanation: Function names are just addresses (just like array names are addresses). main() is also a function. So the address of function main will be printed. %p in printf specifies that the argument is an address. They are printed as hexadecimal numbers.

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

(#M40156401) C QUESTION logic-craker Keep an EYE Keep an eye puzzle Keep an eye puzzle

void fun()
{
// what should be the logic here to print x=20 instead of x=10 in the main function?
}
void main()
{
int x=20;
fun();
x=10;
printf("%d",x);
getch();
}

Asked In C srishti agrawal (9 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (2)   (3) Submit Your Solution

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

Out of fgets() and gets() which function is safe to use
and why?

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

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

What does static variable mean?

Asked In C (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution Basics
Keep an EYE (0)
Solved Question (6) UnSolved Question (454)
Pages: 46FirstPrev16171819202122232425NextLast
  • 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 the Queen of the Sciences

Professor Robert Silensky

amcat ques , guys help me what is the value of these log0.2 base 5

amcat

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