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

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

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

Find the Output.
main()
{
int i=3;
switch(i)
{
default:printf("zero");
case 1: printf("one");
break;
case 2:printf("two");
break;
case 3: printf("three");
break;
}}
Options:zero,one,three,run time error

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

(#M40018743) 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 i=3, *j, k;
j = &i;
printf("%dn", i**j*i+*j);
return 0;
}
Options
1) 30
2) 27
3) 9
4) 3

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

(#M40156383) C QUESTION Q. What is the output of the following program? Keep an EYE Keep an eye puzzle Keep an eye puzzle

void main(){
int a=1;
void xyz(int , int);
xyz(++a,a++);
xyz(a++,++a);
printf("%d",a);
}
void xyz(int x, inty){
printf("%d%d",x,y);
}

Asked In C naval (9 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (7)   (5) Submit Your Solution Technical

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

output?
main()
{
static char names[5][20]={"pascal","ada","cobol","fortran","perl"};
int i;
char *t;
t=names[3];
names[3]=names[4];
names[4]=t;
for (i=0;i

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

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

int main()
{
printf(“%s %s”,(“Zoho” “corp”), (“Campus” ”corpp”),(“Zoho” “Corporation”);
}

Asked In C sanju (9 years ago)
Unsolved Read Solution (6)
Is this Puzzle helpful?   (12)   (15) Submit Your Solution undefined

(#M40037088) C QUESTION C-PROGRAMING Keep an EYE Keep an eye puzzle Keep an eye puzzle

find the output
main( )
{
static int a[ ] = {0,1,2,3,4};
int *p[ ] = {a,a+1,a+2,a+3,a+4};
int **ptr = p;
ptr++;
printf(“n %d %d %d”, ptr-p, *ptr-a, **ptr);
*ptr++;
printf(“n %d %d %d”, ptr-p, *ptr-a, **ptr);
*++ptr;
printf(“n %d %d %d”, ptr-p, *ptr-a, **ptr);
++*ptr;
printf(“n %d %d %d”, ptr-p, *ptr-a, **ptr);
}

Asked In C gowtham (11 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (7)   (2) Submit Your Solution Program

(#M40153813) C QUESTION find the out put of the following program Keep an EYE Keep an eye puzzle Keep an eye puzzle

main()
{
char *str = "12345";
printf("%c %c %cn", *str, *(str++), *(str++));
}

Asked In C Ravi teja (10 years ago)
Unsolved Read Solution (7)
Is this Puzzle helpful?   (35)   (10) Submit Your Solution Output

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

integer i=0,j
while( i < 2 )
{
j = 0;
while ( j <= 3*i )
{
print j
print blank space
j = j + 3
}
print end-of-line //takes the cursor to the next line
i = i + 1
}
What will be the output of the program?

Asked In C Soumya Mohanty (9 years ago)
Unsolved Read Solution (7)
Is this Puzzle helpful?   (135)   (74) Submit Your Solution Technical

(#M40125974) C QUESTION Main function Keep an EYE Keep an eye puzzle Keep an eye puzzle

Function main is the starting point of execution of a program. Which of the following options shall help in making an executable program without the
use of main function in the program?
1. Any function can be made and marked as starting point using a language dependent syntax
2. Two macros can be used. One to hold the name of a function and its working and the other to call the first macro
3. Any program without a main function shall not do anything but can only produce a blank screen
4. It is not possible to run a program without a main function in a program

Asked In C Rinkalkumar Kalola (10 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (90)   (47) Submit Your Solution Technical

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

Input/output function prototypes and macros are defined in which header file?

Options
1) conio.h
2) stdlib.h
3) stdio.h
4) dos.h

Asked In C (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (30)   (10) Submit Your Solution Program
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

The highest form of pure thought is in mathematics

Plato

Each and every person in this world are having "constant mind"...DIFFERENTIATE others mind and INTEGRATE urs.MATHEMATICS SIMPLY MAKES YOU UNSTOPPABLE !!!

VIBHAV ANAND

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