#include<stdio.h>
void main()
{
char *str;
long unsigned int add;
str="Hello C";
add=&str[0];
printf("%c",add);
}
What is the output?
Answer Posted / vinod kumar
warning: assignment makes integer from pointer without a cast
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
c program for searching a student details among 10 student details
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer
What is const volatile variable in c?
What is function what are the types of function?
What is the use of bitwise operator?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
What is calloc malloc realloc in c?
Is flag a keyword in c?
What is the use of linkage in c language?
Why header files are used?
What is the difference between test design and test case design?
using only #include
What are the back slash character constants or escape sequence charactersavailable in c?
Why is c called c?
In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.