• 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
  • /
  • Others
  • /
  • Programming
  • /
  • Program

Frequently Asked others Programming - Program Math Questions and Answer

others Select Another Category Program Select Another Topic

Maths Puzzle

  • A website 299
  • Book 23779
  • Campus 250
  • CMAT 49
  • Exam 86152
  • General 399
  • Interview 141
  • M4maths 295
  • Maths 226
  • Orkut 27
  • Other 72
  • Others 1356
  • Reasoning 101
  • Self 3157

others Question Topics

    Category (34)

    General Ability (7)

  • General Knowledge (4)
  • HR Interview (11)

  • Interview (8)
  • Logical Reasoning (86)

  • Algebra (1)
  • Blood Relations (9)
  • Coding Decoding (6)
  • Cryptography (12)
  • Decision Making and Problem Solving (4)
  • Direction Sense (2)
  • General Mental Ability (10)
  • Letter Series (1)
  • Logical Sequences (2)
  • Mathematical Reasoning (7)
  • Missing Character (2)
  • Number Series (5)
  • Seating Arrangement (3)
  • Numerical Ability (218)

  • Age Problem (7)
  • Algebra (11)
  • Alligation or Mixture (3)
  • Area and Volume (5)
  • Arithmetic (6)
  • Averages (3)
  • Boats and Streams (1)
  • Clocks and Calendars (3)
  • Data Sufficiency (2)
  • Geometry (6)
  • Height and Distance (1)
  • Number System (19)
  • Percentage (6)
  • Permutation and Combination (16)
  • Probability (11)
  • Profit and Loss (5)
  • Quadratic Equations (5)
  • Ratio and Proportion (4)
  • Sequence and Series (4)
  • Simple & Compound Interest (5)
  • Time and Work (11)
  • Time Distance and Speed (3)
  • Trigonometry (1)
  • Programming (10)

  • Arrays (1)
  • Basics (1)
  • Program (5)
  • Puzzles (1)
  • Verbal Ability (5)

  • Antonyms (2)
  • Miscellaneous (1)
  • Sentence Completion (1)
Keep an EYE (0)
Solved Question (0) UnSolved Question (5)
Pages: 11
Advertisements

(#M40034298) OTHERS QUESTION find output Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the output of the program

void main()
{
int i,j,k;
i=2;
j=4;
k=i++>j&2;
printf("%d\n",k);
if(++k && ++i<--j|| i++)
{
j=++k;
}
printf(" %d %d %d",i,-j--,k);
getch();
}
Option
A. 4,-3,2
B. 5,-3,2
C. 4,-2,2
D. 5,-2,2

Asked In Others priyanka aggarwal (11 years ago)
Unsolved Read Solution (5)
Is this Puzzle helpful?   (22)   (8) Submit Your Solution Program

(#M40034291) OTHERS QUESTION twin prime number Keep an EYE Keep an eye puzzle Keep an eye puzzle

4,6,12,18,30,42,60,72,102,108,...
Print next 3 number through c programming.

Asked In Others mithilesh kumar (11 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (18)   (4) Submit Your Solution Program
Advertisements

(#M40019806) OTHERS QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Problem:
A sequence is said to be progressive if it doesn’t decrease at any point in time.
For example 1 1 2 2 is a progressive sequence but 1 2 1 is not a progressive sequence. Let S be the sequence and be represented by T spaced integers Ki, now your task is to find out the first longest progressive sequence present in the given sequence (S).

Input Format:
First line will contain T, the length of the sequence and next line will contain T spaced integers Ki (where i = 0,1, …,T).

Line 1 T,where T is the length of the sequence

Line 2 Ki,where Ki is integer in sequence separated by space

Constraints:
1

Asked In Others bala (12 years ago)
Unsolved
Is this Puzzle helpful?   (17)   (5) Submit Your Solution Program

(#M40034290) OTHERS QUESTION twin prime number Keep an EYE Keep an eye puzzle Keep an eye puzzle

Print the next 3 number of the given pattern series:
4,6,12,18,30,42,60,72,102,108,...

Asked In Others mithilesh kumar (11 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (2)   (1) Submit Your Solution Program

(#M40034065) OTHERS QUESTION programming Keep an EYE Keep an eye puzzle Keep an eye puzzle

Write a class that represents a minimal heap. The heap class should at a minimum support the following methods: - AllocTinyHeap() which should initialize the heap with a given amount of bytes - DeleteTinyHeap() which frees all memory associated with the heap - TinyAlloc() which allocates a given number of bytes on the heap if there is room - TinyFree() which frees a specific location on the heap You may define whatever parameters are necessary for the above methods as well as write any additional methods. Overall consideration will be given to correctness, design, code readability as well as any unit testing done. As part of a final solution please submit test cases you used to verify correctness in addition to any unit tests done.

Asked In Others srinivas (11 years ago)
Unsolved
Is this Puzzle helpful?   (1)   (0) Submit Your Solution Program
Keep an EYE (0)
Solved Question (0) UnSolved Question (5)
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

Life is good for only two things, discovering mathematics and teaching mathematics.

Simeon Poisson

mathematics never dies because it always stays in the minds and souls of people who love mathematics. Those people will not let maths die instead they will die.................

D . kalyan kumar

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