Questions: 1 978

Answers by our Experts: 1 850

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

Write a C program that bitwise displays the short-integer value 167 on the screen.


Write the following menu driven program for the binary tree

----------------------------------------

Binary Tree Menu

----------------------------------------


1. Create

2. In-Order Traversal

3. Pre-Order Traversal

4. Post-Order traversal

5. Search

6. Find Smallest Element

7. Find Largest Element

8. Quit


Write a function that converts a mathematical expression containing parentheses from infix form to postfix form. The function should take pointers to both source infix array and destination postfix array as arguments. You may assume that the maximum array size is fixed. The infix expression will contain multi-digit positive integers only. The function must first check if the brackets in the expression are balanced. The function prototype is given below:

void infixToPostfix(char * src, char * dst); 


Code a C program to read five integer values from data.txt to console; calculate and display the sum and average thereof. Use the following data to create your text file: 6,45,12,67,9. (Hint: refer to video presentation on Files and streams)

Josephus Problem using Circular Doubly Linked List. (Your program should print the remaining people in each iteration). also show output.


Write a C code to add two polynomials having five numbers of unknown variables


A game has three rounds and the scores of three rounds for two teams are stored in team1 and team2 arrays respectively.

Write a C program to do the following

  1. Create an array called team1 to store the scores of three rounds of team 1.
  2. Initialize the  team1 array with 8, 3, 7
  3. Create another array called team2 to store the scores of three rounds of team 2.
  4. Input the scores of three rounds of team 2 from the keyboard and store in the array.
  5. Display the winner of each round (team 1/ team 2) and overall winner (team which wins more rounds).
  6. Display the data stored in  team1 array, team2 array, winner of each round and overall winner.
Write a program that takes or prompt an int. and return it as it is. Example: 5 to return 5 Calculate the factorial and the factorial..

Write a C program which reads and access the elements of the csv file by using the system call functions such as read, write and open. You should sum all the no. present inside a particular column in that csv file by using the words pthread_create and pthread_join only .


void deleteNodeFromStart(struct node_d * head) complete this function for circular doubly linked list.