• 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
  • /
  • Miscellaneous Company Exam
  • /
  • Programming

Frequently Asked Miscellaneous Company Exam Programming Interview Questions with Answers

Miscellaneous Company Exam Select Another Category Programming Select Another Topic

Company

  • 3i-Infotech 345
  • Accenture 548
  • ADITI 81
  • Athenahealth 72
  • CADENCE 37
  • Capgemini 519
  • CMC 49
  • Cognizant 29
  • CSC 480
  • CTS 1340
  • Dell 49
  • Elitmus 44
  • GENPACT 516
  • Google 55
  • HCL 217
  • Hexaware 92
  • Huawei 81
  • IBM 1714
  • IGate 169
  • Infosys 2050
  • L&T 299
  • Microsoft 61
  • Miscellaneous 204
  • Oracle 74
  • Other 95
  • Patni 199
  • Sapient 44
  • Sasken 31
  • Self 38
  • Syntel 530
  • TCS 9109
  • Tech Mahindra 500
  • Wipro 1182

Miscellaneous Company Exam Question Topics

    HR Interview (2)

  • Interview (2)
  • Logical Reasoning (38)

  • Blood Relations (8)
  • Coding Decoding (4)
  • Cryptography (3)
  • Decision Making and Problem Solving (1)
  • Direction Sense (3)
  • General Mental Ability (9)
  • Letter Arrangement (2)
  • Mathematical Reasoning (1)
  • Number Series (3)
  • Seating Arrangement (1)
  • Numerical Ability (46)

  • Age Problem (4)
  • Algebra (6)
  • Area and Volume (3)
  • Complex Numbers (1)
  • Log and Antilog (1)
  • Number System (2)
  • Percentage (4)
  • Probability (4)
  • Profit and Loss (1)
  • Quadratic Equations (1)
  • Ratio and Proportion (2)
  • Sequence and Series (2)
  • Time and Work (1)
  • Time Distance and Speed (1)
  • Trigonometry (2)
  • Programming (6)

  • Program (5)
  • Verbal Ability (7)

  • Antonyms (1)
  • Miscellaneous (3)
  • Spotting Errors (1)
  • Synonyms (1)
Keep an EYE (0)
Solved Question (0) UnSolved Question (6)
Pages: 11
Advertisements

(#M40036126) MISCELLANEOUS COMPAN QUESTION C program Keep an EYE Keep an eye puzzle Keep an eye puzzle

Main()
{
Char a[10][5]={"hi","hello","welcome"};
Printf("%s %s",a[2],a[3]);
}

Asked In Miscellaneous Company Exam Sreenivas (11 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (3)   (0) Submit Your Solution Program

(#M40036127) MISCELLANEOUS COMPAN QUESTION C program Keep an EYE Keep an eye puzzle Keep an eye puzzle

Main()
{char a[6] = "INDIA";
while(*a)
{
printf("%c",*a);
a++;
}}

Asked In Miscellaneous Company Exam Sreenivas (11 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (4)   (1) Submit Your Solution Program
Advertisements

(#M40034978) MISCELLANEOUS COMPAN QUESTION C Keep an EYE Keep an eye puzzle Keep an eye puzzle

In which line of the following, an error would be reported?
1. #deflne CIRCUM(R) (3.14*R*R);
2. main()
3. {
4. float r=1.O,c;
5. c= CIRCUM(r);
6. printf(”n%f”,c);
7. if(CIRCUM(r))==6.28)
8. printf(”nGobbledygook”);
9. }
a) line 1 b) line 5 c) line 6 d) line 7

Asked In Miscellaneous Company Exam Ashutosh Kumar (11 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (1)   (0) Submit Your Solution Program

(#M40035037) MISCELLANEOUS COMPAN QUESTION c-language Keep an EYE Keep an eye puzzle Keep an eye puzzle

int a;
printf("%un", (int)(&a+1)-(int)(&a));
it prints sizeof(a)=4;
but i can't understand ,pls can any one explain this.

Asked In Miscellaneous Company Exam krishna (11 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (11)   (0) Submit Your Solution

(#M40034981) MISCELLANEOUS COMPAN QUESTION c Keep an EYE Keep an eye puzzle Keep an eye puzzle

If the following program (myprog) is run from the command line as myprog 1 2 3, What would be the output?
main(int argc, char *argv[))
{
nt i,j=O;
for(i=O;i0)
printf(”%s” , * + +a rgv);
a) myprog monday tuesday wednesday thursday b) monday tuesday wednesday thursday c) myprog tuesday thursday d) None of the above

Asked In Miscellaneous Company Exam Ashutosh Kumar (11 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (14)   (0) Submit Your Solution Program

(#M40034980) MISCELLANEOUS COMPAN QUESTION c Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the type of the variable b in the following declaration? #define FLOATPTR float*
FLOATPTR a,b;
a) float b) float pointer c) mt d) mt pointer

In the following code;
#include
main()
{
FILE *fp;
fp= fopen(”trial”,”r”);
}
fp points to:
a) The first character in the file.
b) A structure which contains a “char” pointer which points to the first character in the file. c) The name of the file. d) None of the above.
If the program (myprog) is run from the command line as myprog 1 2 3 , What would be the output?
main(int argc, char sargv[))
int I,j=0;
for(i=O;i

Asked In Miscellaneous Company Exam (11 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (14)   (2) Submit Your Solution Program
Keep an EYE (0)
Solved Question (0) UnSolved Question (6)
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

Learn mathematics better and solve your own problems.

K. Anandakumar

Everything in nature adheres to the cone, the cylinder and the cube.

Paul Cezanne

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