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

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

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

What will be the output of the program ?
#include
#include

int main()
{
printf("%dn", strlen("123456"));
return 0;
}
Options
1) 6
2) 12
3) 7
4) 2

Asked In C (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (9)   (5) Submit Your Solution Program

(#M40167105) C QUESTION How many elements in the array? Keep an EYE Keep an eye puzzle Keep an eye puzzle

When we write num[100] = 99.
How many elements can be stored inside the array variable num?

A. The statement gives no clue about the number of elements can be stored
B. 100
C. Infinite number of elements
D. 99

Asked In C Jax (3 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (14)   (2) Submit Your Solution Arrays
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

(#M40165447) C QUESTION WHILE LOOP Keep an EYE Keep an eye puzzle Keep an eye puzzle

integer i = 0 
integer sum = 0 
while ( i <= 50 ) 
{ 
sum = sum + i 
-- MISSING STATEMENT 5 -- 
} 
print sum 

Asked In C Abhijit Kumar Singh (7 years ago)
Unsolved Read Solution (6)
Is this Puzzle helpful?   (17)   (5) Submit Your Solution

(#M40110295) C QUESTION c language Keep an EYE Keep an eye puzzle Keep an eye puzzle

integer x = 40, y = 35, z = 20, w = 10;
Comment about the output of the following two statements:
print x * y / z - w
print x * y / (z - w)

1) Differ by 80
2) Same
3) Differ by 50
4) Differ by 160

Asked In C PARNANDHI BHARATH (10 years ago)
Unsolved Read Solution (5)
Is this Puzzle helpful?   (28)   (20) Submit Your Solution Program

(#M40166042) C QUESTION write the code snippet Keep an EYE Keep an eye puzzle Keep an eye puzzle

you must implement the function isTriangle( Point *P1,Point *P2,Point *P3) to accept three points as inputs and checks wether the given three points form vertices of triangle.
If They form a triangle then function returns 1 else function returns 0
use point structure.


int isTriangle( Point *P1,Point *P2,Point *P3)
{
// write your code here
}

Asked In C sandeep bhat (6 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (91)   (52) Submit Your Solution Arrays

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

Consider the following code:

function modify(a,b)
{
integer c, d = 2
c = a*d + b
return c
}

function calculate( )
{
integer a = 5, b = 20, c
integer d = 10
c = modify(a, b);
c = c + d
print c
}

Assume that a and b were passed by value. What will be the output of the function calculate( ) ?

Asked In C Srishti Sinha (11 years ago)
Unsolved Read Solution (18)
Is this Puzzle helpful?   (34)   (8) Submit Your Solution Output

(#M40156417) C QUESTION Output Keep an EYE Keep an eye puzzle Keep an eye puzzle

Find the Output.
int main(){
char a=250;
int expr;
expr= a+ !a + ~a + ++a;
printf("%d",expr);
return 0;
}
Options:249,250,0,-6

Asked In C JANARTHANAN RAM (9 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (29)   (9) Submit Your Solution Output

(#M40018740) 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()
{
char ch;
if(ch = printf(""))
printf("It mattersn");
else
printf("It doesn't mattersn");
return 0;
}
Options
1) It matters
2) It doesn't matters
3) matters
4) No output

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

(#M40153959) C QUESTION Programming Logic Keep an EYE Keep an eye puzzle Keep an eye puzzle

Write a program to print the nth prime number after a given number m.

Example 1: Given prime number m=3 and n=5. The program should print the 5th prime number afer 3
Given input
3
5
Expected output
17

Asked In C Nikhil Kumar (10 years ago)
Unsolved Read Solution (5)
Is this Puzzle helpful?   (31)   (19) Submit Your Solution Output
Keep an EYE (0)
Solved Question (6) UnSolved Question (454)
Pages: 46FirstPrev123456789NextLast
  • 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

Carl Friedrich Gauss

There r few things whch we knw whch r nt capable of mathmatical reasoning nd when these can nt it is a sign dt our knowledge of them is very smal nd confusd nd where a mathmaticl reasing can be had . It is as dark a foly to make use a candle stick as to g

Unknown

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