6. Comment on the following pointer declaration.int *ptr, p;a) ptr is a pointer to integer, p is not b) ptr and p, both are pointers to integer c) ptr is a pointer to integer, p may or may not be d) ptr and p both are not pointers to integer View Answer...
printf("%s", ptr); free(ptr); } Options− Error in strcpy() statement Error in *ptr = (int*)malloc(30); Error in free(ptr) No Error Explanation− The option B is correct. Here this makes integer from pointer, without a cast...
c) When former is used, search is done in implementation defined manner and when latter is used, current directory is searched d) For both, search for ‘somelibrary’ is done in implementation-defined places View Answer 24. How many number of pointer (*) does C have against a pointer vari...
c. Linking a slide transition with a laser pointer d. Drawing with a pen 218. Which option can be used to create a new slide show with the current slides but presented in a different order a. Rehearsal b. Custom slider show c. Slide show setup d. Slide show view 219. Which of the...
c. d. . Question 2: Which of the following are pointer events that are available in ReactDOM? Answers (Choose one) onPointerTouchMove onGotPointerCapture onLostPointerCapture onPointerTouchUpOutside onPointerTouchUpInside –Sample questions from the React Hooks stack test Question 1: You are...
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[sta...
A cast of a pointer to one object type to a pointer to an object type with stricter alignment requirements may not be portable.lintflags: int *fun(y) char *y; { return(int *)y; } because, on most machines, anintcannot start on an arbitrary byte boundary, whereas acharcan. You can...
a) Virtualization assigns a logical name for a physical resource and then provides a pointer to that physical resource when a request is made b) Virtual appliances are becoming a very important standard cloud computing deployment object c) Cloud computing requires some standard protocols ...