Saturday, January 5, 2008
What is a NULL pointer? How is it different from an unitialized pointer? How is a NULL pointer defined?
Posted by Admin at 11:39 AM 0 comments
Labels: C
What does *p++ do? Does it increment p or the value pointed by p?
Posted by Admin at 11:39 AM 2 comments
Labels: C
Check if the 20th bit of a 32 bit integer is on or off?
Posted by Admin at 11:38 AM 0 comments
Labels: C
How would you count the number of bits set in a floating point number?
Posted by Admin at 11:38 AM 0 comments
Labels: C
Does an array always get converted to a pointer? What is the difference between arr and &arr? How does one declare a pointer to an entire array?
Posted by Admin at 11:38 AM 0 comments
Labels: C
What does malloc() , calloc(), realloc(), free() do? What are the common problems with malloc()? Is there a way to find out how much memory a pointer
Posted by Admin at 11:37 AM 0 comments
Labels: C
What's the difference between const char *p, char * const p and const char * const p?
Posted by Admin at 11:37 AM 0 comments
Labels: C
What is a void pointer? Why can't we perform arithmetic on a void * pointer?
Posted by Admin at 11:37 AM 0 comments
Labels: C
What do Segmentation fault, access violation, core dump and Bus error mean?
Posted by Admin at 11:37 AM 0 comments
Labels: C
What is the difference between an array of pointers and a pointer to an array?
Posted by Admin at 11:37 AM 0 comments
Labels: C
What are brk() and sbrk() used for? How are they different from malloc()?
Posted by Admin at 11:36 AM 0 comments
Labels: C
What is a dangling pointer? What are reference counters with respect to pointers?
Posted by Admin at 11:36 AM 0 comments
Labels: C
Is *(*(p+i)+j) is equivalent to p[i][j]? Is num[i] == i[num] == *(num + i) == *(i + num)?
Posted by Admin at 11:35 AM 0 comments
Labels: C
What operations are valid on pointers? When does one get the Illegal use of pointer in function error?
Posted by Admin at 11:35 AM 0 comments
Labels: C
What is the difference between malloc() and calloc()?
Posted by Admin at 11:34 AM 0 comments
Labels: C
Does extern in a function declaration mean anything?
Posted by Admin at 11:33 AM 0 comments
Labels: C
How to declare an array of N pointers to functions returning pointers to functions returning pointers to characters?
Posted by Admin at 11:32 AM 0 comments
Labels: C
Can we declare a function that can return a pointer to a function of the same type?
Posted by Admin at 11:32 AM 0 comments
Labels: C
How can I write a function that takes a variable number of arguments? What are the limitations with this? What is vprintf()?
Posted by Admin at 11:31 AM 0 comments
Labels: C
With respect to function parameter passing, what is the difference between call-by-value and call-by-reference? Which method does C use?
Posted by Admin at 11:31 AM 0 comments
Labels: C
If I have the name of a function in the form of a string, how can I invoke that function?
Posted by Admin at 11:31 AM 0 comments
Labels: C
What does the error, invalid redeclaration of a function mean?
Posted by Admin at 11:31 AM 0 comments
Labels: C
How can I pass the variable argument list passed to one function to another function.
Posted by Admin at 11:31 AM 0 comments
Labels: C
How do I pass a variable number of function pointers to a variable argument (va_arg) function?
Posted by Admin at 11:31 AM 0 comments
Labels: C
Will C allow passing more or less arguments than required to a function.
Posted by Admin at 11:31 AM 0 comments
Labels: C
Can we use variables inside a switch statement? Can we use floating point numbers? Can we use expressions?
Posted by Admin at 11:26 AM 0 comments
Labels: C
Whats wrong with the expression a[i]=i++; ? Whats a sequence point?
Posted by Admin at 11:24 AM 0 comments
Labels: C
Does the ?: (ternary operator) return a lvalue? How can I assign a value to the output of the ternary operator?
Posted by Admin at 11:24 AM 0 comments
Labels: C
What is the difference between if(0 == x) and if(x == 0)?
Posted by Admin at 11:24 AM 0 comments
Labels: C
What is the difference between a statement and a block?
Posted by Admin at 11:24 AM 0 comments
Labels: C
What is the difference between the & and && operators and the | and || operators?
Posted by Admin at 11:23 AM 0 comments
Labels: C
Is C case sensitive (ie: does C differentiate between upper and lower case letters)?
Posted by Admin at 11:23 AM 0 comments
Labels: C
What purpose do #if, #else, #elif, #endif, #ifdef, #ifndef serve?
Posted by Admin at 11:23 AM 0 comments
Labels: C
What is more efficient? A switch() or an if() else()?
Posted by Admin at 11:21 AM 0 comments
Labels: C
Friday, January 4, 2008
How can we find out the length of an array dynamically in C?
Posted by Admin at 5:48 AM 0 comments
Labels: C
How to write functions which accept two-dimensional arrays when the width is not known before hand?
Posted by Admin at 5:47 AM 0 comments
Labels: C
Can we determine the offset of a field within a structure and directly access that element?
Posted by Admin at 5:47 AM 0 comments
Labels: C
Why do structures get padded? Why does sizeof() return a larger size?
Posted by Admin at 5:47 AM 0 comments
Labels: C
What is a union? Where does one use unions? What are the limitations of unions?
Posted by Admin at 5:47 AM 0 comments
Labels: C
How does one use fread() and fwrite()? Can we read/write structures to/from files?
Posted by Admin at 5:46 AM 0 comments
Labels: C
Can we pass constant values to functions which accept structure arguments?
Posted by Admin at 5:46 AM 0 comments
Labels: C
Can we directly compare two structures using the == operator?
Posted by Admin at 5:46 AM 0 comments
Labels: C
Can structures be assigned to variables and passed to and from functions?
Posted by Admin at 5:46 AM 0 comments
Labels: C
Can structures be assigned to variables and passed to and from functions?
Posted by Admin at 5:46 AM 0 comments
Labels: C
What is the token pasting operator and stringizing operator in C?
Posted by Admin at 5:46 AM 0 comments
Labels: C
How can I write a macro which takes a variable number of arguments?
Posted by Admin at 5:46 AM 0 comments
Labels: C
Is it acceptable to declare/define a variable in a C header?
Posted by Admin at 5:45 AM 0 comments
Labels: C
Is there a limit on the number of characters in the name of a header file?
Posted by Admin at 5:45 AM 0 comments
Labels: C
What should go in header files? How to prevent a header file being included twice? Whats wrong with including more headers?
Posted by Admin at 5:45 AM 0 comments
Labels: C
What is the difference between enumeration variables and the preprocessor #defines?
Posted by Admin at 5:45 AM 0 comments
Labels: C
How can I declare an array with only one element and still access elements beyond the first element (in a valid fashion)?
Posted by Admin at 5:41 AM 0 comments
Labels: C
What is the difference between char *a and char a[]?
Posted by Admin at 5:41 AM 0 comments
Labels: C
Is exit(status) equivalent to returning the same status from main()?
Posted by Admin at 5:41 AM 0 comments
Labels: C
Whats the prototype of main()? Can main() return a structure?
Posted by Admin at 5:40 AM 0 comments
Labels: C
Can you compare two strings like string1==string2? Why do we need strcmp()?
Posted by Admin at 5:39 AM 0 comments
Labels: C
What do memcpy(), memchr(), memcmp(), memset(), strdup(), strncat(), strcmp(), strncmp(), strcpy(), strncpy(), strlen(), strchr(), strchr(), strpbrk()
Posted by Admin at 5:39 AM 0 comments
Labels: C
Why do some people put void cast before each call to printf()?
Posted by Admin at 5:39 AM 0 comments
Labels: C
Why do we get the floating point formats not linked error?
Posted by Admin at 5:38 AM 0 comments
Labels: C
Why should one use strncpy() and not strcpy()? What are the problems with strncpy()?
Posted by Admin at 5:38 AM 0 comments
Labels: C
How can I convert numbers to strings (the opposite of atoi)?
Posted by Admin at 5:38 AM 0 comments
Labels: C
How can I specify a variable width in a scanf() format string?
Posted by Admin at 5:38 AM 0 comments
Labels: C
Whats the difference between gets() and fgets()? Whats the correct way to use fgets() when reading a file?
Posted by Admin at 5:38 AM 0 comments
Labels: C
How to check if a file is a binary file or an ascii file?
Posted by Admin at 5:38 AM 0 comments
Labels: C
Whats the use of fopen(), fclose(), fprintf(), getc(), putc(), getw(), putw(), fscanf(), feof(), ftell(), fseek(), rewind(), fread(), fwrite(), fgets(
Posted by Admin at 5:34 AM 0 comments
Labels: C
What is the difference between the declaration and the definition of a variable?
Posted by Admin at 5:34 AM 0 comments
Labels: C
How can I delete a file? How do I copy files? How can I read a directory in a C program?
Posted by Admin at 5:33 AM 0 comments
Labels: C
How can I recover the file name using its file descriptor?
Posted by Admin at 5:33 AM 0 comments
Labels: C
How can I insert or delete a line (or record) in the middle of a file?
Posted by Admin at 5:33 AM 0 comments
Labels: C
How do stat(), fstat(), vstat() work? How to check whether a file exists?
Posted by Admin at 5:33 AM 0 comments
Labels: C
How are floating point numbers stored? Whats the IEEE format?
Posted by Admin at 5:33 AM 0 comments
Labels: C
What is the difference between constants defined through #define and the constant keyword?
Posted by Admin at 5:33 AM 0 comments
Labels: C
To what does the term storage class refer? What are auto, static, extern, volatile, const classes?
Posted by Admin at 5:32 AM 0 comments
Labels: C
Wednesday, January 2, 2008
write your Feedback/suggestion/request
Please give your Feedback and suggestions for improvement.
and if you have any request .. feel free to write , I'll try to bring that stuff/change as soon as possible.
Thanks & Regards
Admin
Posted by Admin at 2:17 PM 0 comments
Data Structures and Algorithm
Algorithms : Instructor: Shai Simonson ( best algorithm lectures available over internet)
http://aduni.org/courses/algorithms/index.php?view=cw
Introduction to Algorithms :
Instructors:
Prof. Erik Demaine
Prof. Charles Leiserson
http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-046JFall-2005/LectureNotes/
Data Structures, Algorithms, and Applications in Java by Sartaj Sahni
http://www.cise.ufl.edu/~sahni/cop3530/lectures.htm
Data Structures and AdvancedProgramming
http://webcast.berkeley.edu/course_details.php?seriesid=32
Posted by Admin at 1:09 PM 0 comments
Labels: Online video Lectures
Programming
Object-oriented Program Design and Software Engineering : Instructor: Dave Goddeau
http://aduni.org/courses/java/index.php?view=cw
Software Engineering for Web Applications : Instructor: Philip Greenspun
http://aduni.org/courses/web/index.php?view=cw
Programming Concepts and Data
http://wally.cs.iupui.edu/n201/
Posted by Admin at 1:09 PM 0 comments
Labels: Online video Lectures
Discrete Maths and Probability
Discrete Mathematics : Instructor: Shai Simonson
http://aduni.org/courses/discrete/index.php?view=cw
Applied Probability : Instructor: Tina Kapur and Rajeev Surati
http://aduni.org/courses/probability/index.php?view=cw
Posted by Admin at 1:05 PM 0 comments
Labels: Online video Lectures
Theory of Computation ( Automata)
Theory of Computation : Instructor: Shai Simonson
http://aduni.org/courses/theory/index.php?view=cw
Posted by Admin at 1:05 PM 0 comments
Labels: Online video Lectures
Operating System
Systems : Instructor: Luis Rodriguez
http://aduni.org/courses/systems/index.php?view=cw
Posted by Admin at 1:05 PM 0 comments
Labels: Online video Lectures
DBMS
Database Management Systems : nstructor: Ravi Jasuja
http://aduni.org/courses/databases/index.php?view=cw
Systems : Instructor: Luis Rodriguez
http://aduni.org/courses/systems/index.php?view=cw
Posted by Admin at 1:05 PM 0 comments
Labels: Online video Lectures
Network
Systems : Instructor: Luis Rodriguez
http://aduni.org/courses/systems/index.php?view=cw
Posted by Admin at 1:04 PM 0 comments
Labels: Online video Lectures
Artificial Intelligence ( A I )
Artificial Intelligence : Instructor: Patrick Winston
http://aduni.org/courses/ai/index.php?view=cw
Posted by Admin at 1:04 PM 0 comments
Labels: Online video Lectures
Computer Architecture
Principles of Computing
http://wally.cs.iupui.edu/n100/update/index.html
Posted by Admin at 1:04 PM 0 comments
Labels: Online video Lectures
Distributed system and programming
Distributed Lectures
http://wally.cs.iupui.edu/n335/
Computing I Distributed Lectures
http://wally.cs.iupui.edu/csci230/
Computing II Distributed Lectures
http://wally.cs.iupui.edu/csci240/
Web Programming Distributed Lectures
http://wally.cs.iupui.edu/n341_05/
Server-Side Web Development Distributed Lectures
http://wally.cs.iupui.edu/n342/
Introduction to Web Design - Distributed
http://wally.cs.iupui.edu/n241_06/
Visual Basic .NET Distributed Lectures
http://wally.cs.iupui.edu/n331_05/
ASP.NET Distributed Lectures
http://wally.cs.iupui.edu/n431/
Posted by Admin at 1:04 PM 0 comments
Labels: Online video Lectures
Misc Topics
Virtual Reality
http://wally.cs.iupui.edu/~aharris/n355/
Multimedia Videos
http://wally.cs.iupui.edu/n351/indexProto.html
Streaming Media Files
http://wally.cs.iupui.edu/n301v/
Posted by Admin at 1:03 PM 0 comments
Labels: Online video Lectures