Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
2 6879What has to put when we are inserting as assembly language code into the C code? or When we are inserting as assembly language code into the C code we have to insert one thing at the start and of the assembly language. What are they?
2 4189struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?
1 6639Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
1 4059Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
Accenture, Gridco, IBM, Kevin IT, TCS, Vimukti Technologies,
7 12512In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }
1 3151
Can a pointer be null?
How to compare array with pointer in c?
Explain c preprocessor?
Should I learn data structures in c or python?
Why flag is used in c?
find out largest elemant of diagonalmatrix
Is c is a high level language?
Differentiate between static and dynamic modeling.
What are the parts of c program?
what are the 10 different models of writing an addition program in C language?
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
Why is #define used?
What is atoi and atof in c?
how to make a scientific calculater ?