Programming Languages Interview Questions
Questions Answers Views Company eMail

#include void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

SRG,

3 3883

i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout< 1409


what is uses of .net

1264

draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

Appin, NIIT,

2850

Write a program that accept anumber in words

1242

how to convert hashmap to arraylist with iteration

DFD,

1187

7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2211

Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1457

4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

TCS,

1718

when to use : in c program?

2 2560

How I can control asset documents without GR/IR?

i2U Systems, Industrial Hand Protection, Mutha Technosoft,

1202

Write a c++ code that will calculate the roots of a quadratic equation a2+ bx+c=0 Hint: d = sqrt (b2-4ac), and the roots are: x1 = (€“b + d)/2a and x2 = (€“b €“ d)/2a (use sqrt function from cmath.h )?

Maxobiz,

1402

Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.

Maxobiz,

1433

Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program

Maxobiz,

1572

write a program to generate address labels using structures?

SJC,

3996


Un-Answered Questions { Programming Languages }

What is the difference wordpress.com vs wordpress.org?

93


How do I use python idle?

453


List the databases supported by codeigniter?

317


Explain how can I read and write comma-delimited text?

638


How to add / link an images/css/javascript from a view in ci?

345






What are the advantages of using typedef in a program?

630


How can you enable query log in laravel?

431


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

569


What is data type set in python and how to work with it?

441


Is python good for beginners?

438


Why does notstrcat(string, "!");Work?

632


How does python input work?

461


How do I display php errors?

509


What is encapsulation in oop?

599


What is extern storage class in c?

505