Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.
2021Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]
2 5055
In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)
Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.
What is variable declaration and definition in c?
Differentiate between new and malloc(), delete and free() ?
what are the facialities provided by you after the selection of the student.
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What is indirection?
Are there namespaces in c?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
How can you determine the maximum value that a numeric variable can hold?
What is unary operator?
How important is structure in life?
What does 4d mean in c?
Dont ansi function prototypes render lint obsolete?
Can we change the value of static variable in c?