• 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
  • /
  • Programming
  • /
  • Basics

C Programming - Basics Technical Interview Questions

C Select Another Category Basics 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 (1) UnSolved Question (7)
Pages: 11
Advertisements

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

Consider the following code:

for i= m to n increment 2
{ print "Hello!" }

Assuming m < n and exactly one of (m,n) is even, how many times will Hello be printed?
Option 1 : (n - m + 1)/2
Option 2 : 1 + (n - m)/2
Option 3 : 1 + (n - m)/2 if m is even, (n - m + 1)/2 if m is odd
Option 4 : (n - m + 1)/2 if m is even, 1 + (n - m)/2 if m is odd

Asked In C Dastagiri Sha (7 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (220)   (158) Submit Your Solution Basics

(#M40157262) C QUESTION general question Keep an EYE Keep an eye puzzle Keep an eye puzzle

#include
void main()
{
int i;
for(i=0;i<10;i++)
{
if(i<5)
continue;
else
break;
printf("%d",i);
}
}

Asked In C Veena Kumari (9 years ago)
Unsolved Read Solution (13)
Is this Puzzle helpful?   (10)   (5) Submit Your Solution Basics
Advertisements

(#M40156418) C QUESTION memory Keep an EYE Keep an eye puzzle Keep an eye puzzle

A 10-bit unsigned integer has the following range:
Options:
[1] 0 to 1000
[2] 0 to 1024
[3] 1 to 1025
[4] 0 to 1023

Asked In C JANARTHANAN RAM (9 years ago)
Unsolved Read Solution (15)
Is this Puzzle helpful?   (103)   (48) Submit Your Solution Basics

(#M40155922) C QUESTION What is the return type of malloc() function? Keep an EYE Keep an eye puzzle Keep an eye puzzle

[1] void pointer(void*)
[2] NULL pointer
[3] integer pointer(int *)
[4] Specific pointer according to the memory
allocated for specific type

Asked In C Rishikesh Agrawani (9 years ago)
Unsolved Read Solution (10)
Is this Puzzle helpful?   (3)   (2) Submit Your Solution Basics

(#M40154740) C QUESTION Basic C Keep an EYE Keep an eye puzzle Keep an eye puzzle

void main()
{
int i=5;

printf("%d%d",i*2,i++);

getch();
}
what will be the output:

Asked In C Mangesh Nakhate (9 years ago)
Solved Syed Ashraf Read Solution (19)
Is this Puzzle helpful?   (30)   (6) Submit Your Solution Basics

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

In which stage the following code

#include
gets replaced by the contents of the file stdio.h

Options
1) During editing
2) During linking
3) During execution
4) During preprocessing

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

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

What is the use of typedef?

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

(#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 (1) UnSolved Question (7)
Pages: 11
  • 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 art of giving the same name to different things.

Henri Poincare

Mathematics is the heart of the World

SrinivasuluReddy

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