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

Huawei Programming Interview Questions with Answers

Huawei 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

Huawei Question Topics

    Category (14)

    HR Interview (3)

  • Interview (3)
  • Logical Reasoning (14)

  • Blood Relations (3)
  • Coding Decoding (1)
  • Cryptography (1)
  • Direction Sense (1)
  • General Mental Ability (2)
  • Letter Series (1)
  • Logical Sequences (2)
  • Mathematical Reasoning (1)
  • Numerical Ability (25)

  • Algebra (5)
  • Averages (1)
  • Clocks and Calendars (1)
  • Geometry (1)
  • Number System (2)
  • Percentage (2)
  • Probability (2)
  • Ratio and Proportion (1)
  • Sequence and Series (2)
  • Time and Work (3)
  • Time Distance and Speed (1)
  • Trigonometry (1)
  • Programming (19)

  • Arrays (1)
  • Basics (2)
  • Database (1)
  • Definition (2)
  • Program (6)
  • Technical (6)
  • Verbal Ability (1)

  • Synonyms (1)
Keep an EYE (0)
Solved Question (5) UnSolved Question (14)
Pages: 212NextLast
Advertisements

(#M40154731) HUAWEI QUESTION 21 NOV 2015 OXFORD COLLEGE Keep an EYE Keep an eye puzzle Keep an eye puzzle

Select the correct option.

a)ArrayList is synchronized and Vector is unsynchronized.

b)ArrayList is unsynchronized and Vector is synchronized.

c)Both ArrayList and Vector are synchronized.

d)Both ArrayList and Vector are unsynchronized.

Asked In Huawei ABHINAV KUMAR (9 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (6)   (3) Submit Your Solution Arrays

(#M40154730) HUAWEI QUESTION 21 NOV 2015 OXFORD COLLEGE Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the correct signature of hashCode()?

a) int hasCode();
b) int hashCode(int);
c) int hashCode(int,int);
d) double hashCode();

Asked In Huawei ABHINAV KUMAR (9 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (5)   (0) Submit Your Solution Basics
Advertisements

(#M40154727) HUAWEI QUESTION 21 NOV 2015 Oxford College Keep an EYE Keep an eye puzzle Keep an eye puzzle

Find the wrong option
Class B extends A

a)A a=new A();
b)B b=new B();
c)A a=new B();
d)B b=new A();

Asked In Huawei ABHINAV KUMAR (9 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (4)   (3) Submit Your Solution Technical

(#M40154634) HUAWEI QUESTION C Programming Keep an EYE Keep an eye puzzle Keep an eye puzzle

#include
int main()
{
int a,b;
if(a=1,b=0)
printf("Yes");
else
printf("No");
return 0;
}

Asked In Huawei Kethineni Vinodh (9 years ago)
Solved VINU CHOWDARY Read Solution (5)
Is this Puzzle helpful?   (8)   (3) Submit Your Solution Basics

(#M40154633) HUAWEI QUESTION C Programming Keep an EYE Keep an eye puzzle Keep an eye puzzle

#include
#define mult(x,y) x*y
int main()
{
int a=5,b=5;
printf("%d",mult(a+b,a+b));
return 0;
}

Asked In Huawei Kethineni Vinodh (9 years ago)
Solved VINU CHOWDARY Read Solution (7)
Is this Puzzle helpful?   (7)   (2) Submit Your Solution Technical

(#M40152837) HUAWEI QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Point out the compile time error in the program given below.
int main()
int *x;
1;
return 0;
A. Error: invalid assignment for x
B. Error: suspicious pointer conversion
C. No error
D. None of above

Asked In Huawei Poorva (10 years ago)
Unsolved Read Solution (7)
Is this Puzzle helpful?   (23)   (3) Submit Your Solution Program

(#M40152078) HUAWEI QUESTION o/p?? Keep an EYE Keep an eye puzzle Keep an eye puzzle

What will be output if you will compile and execute the following ccode?
#define call(x,y) x##y
void main()
{
int x=5,y=10,xy=20;
printf("%d",xy+call(x,y));
}
(A) 35
(B) 510
(C) 15
(D) 40
(E) None of above

Asked In Huawei B.R. Ojha (10 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (21)   (3) Submit Your Solution Database

(#M40041261) HUAWEI QUESTION wat will be the output?? Keep an EYE Keep an eye puzzle Keep an eye puzzle

#include
main(){
int a,b,c,i;
printf("%d",scanf("%d %d %d",&a,&b,&c));
getch();
}

Asked In Huawei shafi (10 years ago)
Solved U DINESH Read Solution (16)
Is this Puzzle helpful?   (10)   (4) Submit Your Solution Definition

(#M40041260) HUAWEI QUESTION what is output of snippet??? Keep an EYE Keep an eye puzzle Keep an eye puzzle

#include
main(){
int xxx[10]={5};
printf("%d %d %d",xxx[0],xxx[5],xxx[7]);
getch();
}

Asked In Huawei shafi (10 years ago)
Unsolved Read Solution (9)
Is this Puzzle helpful?   (6)   (4) Submit Your Solution Technical

(#M40037856) HUAWEI QUESTION value of x Keep an EYE Keep an eye puzzle Keep an eye puzzle

main()
{
int x=011|0x10;
printf("%d",x);
}
a). 13 b).19 c).25 d).20

Asked In Huawei nageshwarnk (11 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (35)   (20) Submit Your Solution Program
Keep an EYE (0)
Solved Question (5) UnSolved Question (14)
Pages: 212NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

" MATHEMATICS can be your best friend if you will use it frequently but it can be your worst enemy if you will neglect using it daily."

Elmor Earl F.Leonor

Mathematics is the QUEEN of all subject

Rupam

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