Programming Languages Interview Questions
Questions Answers Views Company eMail

Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2010

WAP to generate 2n+1 lines of the following pattern on the computer screen:

2 5070

Give two integer arrays A & B.A has n elements and B has ' n-1 ' elements . A has all the elements that are there in B. But B has one missing element. Write a function that takes arrays , A & B as imnput and finds the missing element in most optised manner .

Zycus Infotech,

4 10370

what is difference between class template and template class?

2162

a c code by using memory allocation for add ,multiply of sprase matrixes

2306

#define MAX 3 main() { printf("MAX = %d ",MAX ); #undef MAX #ifdef MAX printf("Vector Institute”); #endif }

Vector India,

1 3765

main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }

Vector, Wipro, Zoho,

4 23141

main() { enum _tag{ left=10, right, front=100, back}; printf("%d, %d, %d, %d", left, right, front, back); }

Accenture, Vector,

1 8919

 Illustrate it   summing the series 2+4+6+......to n terms using  (i) while loop (ii) do-while loop

2 4543

Q1.Write a C program which asks the user for a number between 1 to 9 and shows the  number. If the user inputs a number out of the specified range, the program should  show an error and prompt the user for a valid input.

2281

Display names and numbers of employees who have 5 years or more experience and  salary less than Rs.15000 using array of structures (name, number, experience and  salary)

4305

write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

2725

I need source code for Enrollment System using Visual Basic 6.0/2008 database MS Access 2007 for my school thesis project...please help me..kindly send in my email jpinedamcp@gmail.com

1586

 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1732

main() { int age; float ht; printf("Enter height and age"); scanf("%d%d",&height,&age); if((age<=20)&&(ht>=5)) {printf("She loves you");} else {printf("She loves you");} }

2 3749


Un-Answered Questions { Programming Languages }

How do I start a wordpress website?

106


show how link list can be used to repersent the following polynomial i) 5x+2

1683


Why should a c++ programmer be interested in stl?

647


What do you mean by a scala map?

1


How do I save on wordpress?

100






What is monolog library?

414


How to set/unset session in django?

221


What are the disadvantages of php?

518


Will comparison of string "10″ and integer 11 work in PHP?

113


Explain scalar type declarations in php7?

553


Is facebook still in php?

518


What character terminates all character array strings a) b) . c) END

677


What is the basic difference between posts vs. Pages?

112


Do you know would I use print "$a dollars” or "{$a} dollars” to print out the amount of dollars in this example?

99


What is models model in django?

237