Write a program to implement queue.
No Answer is Posted For this Question
Be the First to Post Answer
Why is structure padding done in c?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
what is the difference between embedded c and turbo c ?
Write an implementation of “float stringToFloat(char *str).” The code should be simple, and not require more than the basic operators (if, for, math operators, etc.). • Assumptions • Don’t worry about overflow or underflow • Stop at the 1st invalid character and return the number you have converted till then, if the 1st character is invalid return 0 • Don’t worry about exponential (e.g. 1e10), instead you should treat ‘e’ as an invalid character • Write it like real code, e.g. do error checking • Go though the string only once • Examples • “1.23” should return 1.23 • “1a” should return 1 • “a”should return 0
Why doesnt the call scanf work?
What is the stack in c?
4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is the difference between #include <header file> and #include “header file”?
2.Given the short c program that follows a. make a list of the memory variables in this program b.which lines of code contain operations that change the contents of memory? what are those operations? Void main( void) { Double base; Double height; Double area; Printf(“enter base and height of triangle :”); Scanf(“%lg”, &base); Scanf(“%lg”, &height); Area=base*height/2.0; Printf(“the area of the triangle is %g \n”,area); }
code for inverse a matrix
print out put like this form 1 2 3 4 5 6 3 5 7 9 11 8 12 16 20
Why c is faster than c++?