Questions: 1 680

Answers by our Experts: 1 680

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Two arrays are given. Write the C code to swap elements from each array such that after

swapping, sum of elements of array1=sum of elements of array2..

Example:

Array 1: 3, 2, 10, 12

Array 2: 6, 4, 9, 10

After swapping 3 (from Array 1) with 4 (from Array 2)

Array1: 4, 2, 10, 12 Sum = 28

Array2: 6, 3, 9, 10 Sum = 28


Explain queue with the help of an example(Example required).


Write an algorithm/program to push an element in array implemented stack.


Explain stacks with the help of an example(Example required).


Write a program to search an element in linked list.


Write a program to insert an element in stack(Push operation only).


Write a program to traverse linked list(1-way)


write a program which loads(from the keyboard)variables of four basic types

1.integer number(preferably short)

2.floating point number(preferably double)

3.single character(char)

4.text(using array text representation char text[30])

5.boolean(logical TRUE/FALSE)(int?)

and the display the collected values in five following rows in a formated form:

on 15 positions

aligned /justified to right

with maximally 2 fraction digits


Develop a small game using any data structure of your choice.

Write C program that to add following two matrixes and display output.

{5 7 8 109 3 0 68 1 9 24 7 2 1} + {2 2 1 3 8 1 3 11 2 2 43 1 1 2} = {7 9 9 1317 4 3 79 3 11 67 8 3 3}


LATEST TUTORIALS
APPROVED BY CLIENTS